27 lines
669 B
C#
27 lines
669 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Web.Mvc;
|
|||
|
|
|
|||
|
|
namespace atakanozbancom.Models.classes
|
|||
|
|
{
|
|||
|
|
public class MyProjectsVM
|
|||
|
|
{
|
|||
|
|
public int id { get; set; }
|
|||
|
|
public string title { get; set; }
|
|||
|
|
[AllowHtml]
|
|||
|
|
public string description { get; set; }
|
|||
|
|
|
|||
|
|
// legacy (şimdilik kalsın)
|
|||
|
|
public string image { get; set; }
|
|||
|
|
public string iframe { get; set; }
|
|||
|
|
|
|||
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|