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.Bucket { /// /// 模块名称:注塑打印记录 /// 作 者:张松男 /// 编写日期:2021年07月13日 /// public class RawMaterialRecordModel : 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)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, 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 MaterialCode { get; set; } /// /// 物料名称 /// [Description("物料名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 300)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.center)] public string MaterialName { 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 BucketCode { 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 PartCode { 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 BatchCode { 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 SerialCode { get; set; } /// /// 是否可用 /// [Description("是否可用")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center,Hidden = true)] public string IsCheck { get; set; } /// /// 创建人 /// [Description("创建用户")] 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("更新用户")] 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("开始时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.dateTimeBox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss", Hidden = true)] public DateTime BeginTime { get; set; } /// /// 结束时间 /// [Description("结束时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.dateTimeBox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss",Hidden = true)] public DateTime EndTime { get; set; } } }