using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using QMAPP.Web; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.Web.Models.Sys { /// /// 作 用:文件类型页面模型 /// 作 者:王丹丹 /// 编写日期:2015年03月17日 /// public class FileTypeModel : QDGModel { /// ///分类编号 /// [Description("分类编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 10)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string TYPENO { get; set; } /// ///分类名称 /// [Description("分类名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string TYPENAME { get; set; } /// ///上级分类编号 /// [Description("上级分类编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 10)] [InputType(inputType.text)] public string PARENTTYPENO { get; set; } [Description("上级分类名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 10)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string PARENTTYPENAME { get; set; } /// ///创建人 /// [Description("创建人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CREATEUSER { get; set; } /// ///创建时间 /// [Description("创建时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3)] [InputType(inputType.datebox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime CREATEDATE { get; set; } /// ///修改人 /// [Description("修改人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string UPDATEUSER { get; set; } /// ///修改时间 /// [Description("修改时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3)] [InputType(inputType.datebox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime UPDATEDATE { get; set; } } }