using System; using System.Web.Mvc.Html; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.FJC.Web.Models.ODS { public class VideoInfoModel : QDGModel { public VideoInfoModel() { //设置页尺寸 this.pageSize = MvcApplication.PageSize.ToString(); } /// ///主键 /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///工作中心编码 /// [Description("工作中心编码")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/OdsVideoInfo/GetWorkCenterList", MaxLength = 2)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string WORKCENTER_CODE { get; set; } /// /// 工序编码 /// [Description("工序编码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string WORKCELL_CODE { get; set; } /// /// 工位编码 /// [Description("工位编码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string WORKLOC_CODE { get; set; } /// ///视频名称 /// [Description("视频名称")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string VideoName { get; set; } /// ///类型名称 /// [Description("类型名称")] public string VideoType { get; set; } /// ///权限 /// [Description("权限")] public int VideoRule { get; set; } /// ///视频路径 /// [Description("视频路径")] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string VideoUrl { get; set; } /// ///上传次数 /// [Description("上传次数")] public int UploadNumber { get; set; } /// ///是否允许覆盖 /// [Description("是否允许覆盖")] public int IsRepair { get; set; } /// ///备注 /// [Description("备注")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string MEMO { get; set; } /// ///创建用户 /// [Description("创建用户")] public string CREATEUSER { get; set; } public string CREATEUSERNAME { get; set; } /// ///创建时间 /// [Description("创建时间")] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public DateTime CREATEDATE { get; set; } public DateTime STARTCREATEDATE { get; set; } public DateTime ENDCREATEDATE { get; set; } /// ///更新用户 /// [Description("更新用户")] public string UPDATEUSER { get; set; } public string UPDATEUSERNAME { get; set; } /// ///更新时间 /// [Description("更新时间")] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public DateTime UPDATEDATE { get; set; } } }