Files
atakanozbancom/Models/classes/MyProjectVM.cs
T

27 lines
669 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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; }
}
}