using System.Web.Mvc.Html; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; using System; namespace QMAPP.FJC.Web.Models.Andon { /// /// 模块编号: /// 作 用:呼叫原因维护 /// 作 者:周晓东 /// 编写日期:2017.11.16 /// public class CallReasonModel : QDGModel { /// ///主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///维修呼叫 ///质量呼叫 ///物料呼叫 /// [Description("呼叫类型")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetConfigDetailComboxSource?kind=CALL_TYPE", MaxLength = 1)] [InputType(inputType.combobox)] public string CALL_TYPE { get; set; } [Description("呼叫类型")] [DGColumn(frozenColumns = true, Sortable = false, Width = 100, DataAlign = DataAlign.center)] public string CALL_TYPE_TXT { get; set; } /// ///呼叫原因 /// [Description("呼叫原因")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 130, DataAlign = DataAlign.left)] public string CALL_REASION { get; set; } /// ///设备编码 /// [Description("工厂编码")] //[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string FACTORY_CODE { get; set; } [Description("上级主键")] //[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string PARENTID { get; set; } ///// ///// 创建用户 ///// //[Description("创建用户")] //[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] //public string CREATEUSER { get; set; } ///// ///// 创建时间 ///// //[Description("创建时间")] ////[HTMLInput(UpdateRead = true, MaxLength = 20)] //[InputType(inputType.hidden)] //[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] //public DateTime CREATEDATE { get; set; } ///// ///// 更新用户 ///// //[Description("更新用户")] //[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] //public string UPDATEUSER { get; set; } ///// ///// 更新时间 ///// //[Description("更新时间")] ////[HTMLInput(UpdateRead = true, MaxLength = 20)] //[InputType(inputType.hidden)] //[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] //public DateTime UPDATEDATE { get; set; } /// /// 创建用户 /// [Description("创建用户")] public string CREATEUSER { get; set; } /// /// 创建用户 /// [Description("创建用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CREATEUSERNAME { get; set; } /// /// 创建时间 /// [Description("创建时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.hidden)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CREATEDATE { get; set; } /// /// 更新用户 /// [Description("更新用户")] public string UPDATEUSER { get; set; } /// /// 更新用户 /// [Description("更新用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string UPDATEUSERNAME { get; set; } /// /// 更新时间 /// [Description("更新时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.hidden)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime UPDATEDATE { get; set; } } }