2026-07-29 20:25:55 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
|
|
|
|
|
|
|
namespace atakanozbancom.Models.classes
|
2026-02-13 23:40:52 +01:00
|
|
|
|
{
|
|
|
|
|
|
public class MyProjectsVM
|
|
|
|
|
|
{
|
|
|
|
|
|
public int id { get; set; }
|
|
|
|
|
|
public string title { get; set; }
|
2026-07-29 20:25:55 +02:00
|
|
|
|
[AllowHtml]
|
2026-02-13 23:40:52 +01:00
|
|
|
|
public string description { get; set; }
|
|
|
|
|
|
|
2026-07-29 20:25:55 +02:00
|
|
|
|
// legacy (şimdilik kalsın)
|
2026-02-13 23:40:52 +01:00
|
|
|
|
public string image { get; set; }
|
|
|
|
|
|
public string iframe { get; set; }
|
2026-07-29 20:25:55 +02:00
|
|
|
|
|
|
|
|
|
|
// NEW
|
|
|
|
|
|
public List<ProjectMediaVM> medias { get; set; } = new List<ProjectMediaVM>();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class ProjectMediaVM
|
|
|
|
|
|
{
|
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
|
public string url { get; set; }
|
|
|
|
|
|
public int order { get; set; }
|
2026-02-13 23:40:52 +01:00
|
|
|
|
}
|
2026-07-29 20:25:55 +02:00
|
|
|
|
}
|