using System.ComponentModel.DataAnnotations;
using System.Web;

namespace atakanozbancom.Models.classes
{
    public class AdminAffiliateLinkVM
    {
        public int id { get; set; }

        [Display(Name = "Title (EN)")]
        [Required(ErrorMessage = "Title is required.")]
        [StringLength(200)]
        public string TitleEN { get; set; }

        [Display(Name = "Description (EN)")]
        [StringLength(500)]
        public string DescEN { get; set; }

        [Display(Name = "Title (TR)")]
        [StringLength(200)]
        public string TitleTR { get; set; }

        [Display(Name = "Description (TR)")]
        [StringLength(500)]
        public string DescTR { get; set; }

        [Display(Name = "URL")]
        [Required(ErrorMessage = "URL is required.")]
        [StringLength(1000)]
        public string url { get; set; }

        [Display(Name = "Sort Order")]
        public int sort_order { get; set; }

        public string existingImage { get; set; }

        public HttpPostedFileBase logoFile { get; set; }
    }
}
