using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; namespace QMAPP.FJC.Web.Models.BZD { /// /// 模块名称 补打条码 /// 作 者 张松男 /// 编写日期 2021年05月24日 /// public class BarCodeReplacementModel : QDGModel { /// /// 主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// /// 补打类型 /// [Description("补打类型")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200, JsonUtl = "/Dict/GetFixedComboxSource?kind=BarCodeType")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string Type { get; set; } /// /// 补打条码 /// [Description("补打条码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string ProductCode { get; set; } /// /// 创建时间 /// [Description("创建时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string CreateTime { get; set; } /// /// 结束时间 /// [Description("结束时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.dateTimeBox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center, Hidden = true)] public string EndTime { get; set; } /// /// 开始时间 /// [Description("开始时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.dateTimeBox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center,Hidden = true)] public string BeginTime { get; set; } /// /// 创建用户 /// [Description("创建用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CreateUser { get; set; } } }