using System; using System.Collections.Generic; using System.Linq; using System.Web; using QMFrameWork.WebUI.Attribute; using System.Web.Mvc.Html; using QMFrameWork.WebUI; namespace QMAPP.FJC.Web.Models.Basic { public class CapacityModel : QDGModel { /// /// 主键 /// [Description("主键")] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// /// 班次ID /// [Description("班次")] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, Editor = CellEditorType.combobox, DataAlign = DataAlign.center, required = true)] public string SHIFT_PID { get; set; } /// /// 工作中心 /// [Description("工作中心")] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center, required = true)] public string WORKCENTER_PID { get; set; } /// /// 产能 /// [Description("产能")] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, Editor = CellEditorType.numberbox, DataAlign = DataAlign.center, required = true)] public int CAPACITY { get; set; } /// /// 创建用户 /// [Description("创建用户")] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CREATEUSER { get; set; } /// /// 创建时间 /// [Description("创建时间")] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime CREATEDATA { get; set; } /// /// 更新用户 /// [Description("更新用户")] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string UPDATEUSER { get; set; } /// /// 更新时间 /// [Description("更新时间")] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime UPDATEDATA { get; set; } /// /// 删除标记 /// [Description("删除标记")] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string FLGDEL { get; set; } } }