using CZFW.Framework.Attributes; using CZFW.Framework.Model; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace CZFW.Framework.Model.ViewModel { public class SubsiteModel:ModelBase { [MaxLength(128)] [Display(Name = "名称")] [Required] public string Name { get; set; } [MaxLength(128)] [Display(Name = "所属组织")] public string Orgnization { get; set; } [MaxLength(128)] [Display(Name = "路径")] public string Path { get; set; } [Display(Name = "上线状态")] [EnumSrc(Name = "CZFW.Framework.Model.Enum.SubsiteOnlineStatusEnum")] public int OnlineStatus { get; set; } [Display(Name = "上线状态")] public string OnlineStatusName { get; set; } [MaxLength(2048)] [Display(Name = "简介")] [DataType(DataType.MultilineText)] public string Description { get; set; } } }