using System; using System.Linq; using System.Text; using SqlSugar; namespace MainForm.Models { /// ///订单信息表 /// [SugarTable("OrderTable")] public partial class OrderTable { /// /// Desc:车间订单号 /// Default: /// Nullable:False /// [SugarColumn(ColumnDataType = "nvarchar", Length = 36, IsNullable = false, IsPrimaryKey = true)] public string WorkOrderNum { get; set; } /// /// Desc:订单状态 /// Default: /// Nullable:False /// 未处理订单\正在处理订单\正在清料中\已完成订单 /// [SugarColumn(IsNullable = false)] public string WorkOrderStatus { get; set; } /// /// Desc:批次号 /// Default: /// Nullable:True /// public string BatchNumber { get; set; } /// /// Desc:产品型号 /// Default: /// Nullable:True /// public string ProductMtltmrk { get; set; } /// /// Desc:产品代号 /// Default: /// Nullable:True /// public string ProductNo { get; set; } /// /// Desc:产品名称 /// Default: /// Nullable:True /// public string ProductName { get; set; } /// /// Desc:供应商代码 /// Default: /// Nullable:True /// public string SupplierCode { get; set; } /// /// Desc:计划数量 /// Default: /// Nullable:True /// public int? PlannedQuantity { get; set; } /// /// Desc:已完成数量 /// Default: /// Nullable:True /// public int? CompletedQuantity { get; set; } /// /// Desc:计划标记 /// Default: /// Nullable:True /// public string Plnsign { get; set; } /// /// Desc:需求日期 /// Default: /// Nullable:True /// public string Soreqdat { get; set; } /// /// Desc:所属流程 /// Default: /// Nullable:True /// public string Process { get; set; } /// /// Desc:订单创建时间 /// Default: /// Nullable:False /// [SugarColumn(IsNullable = false)] public DateTime CreatedTime { get; set; } = DateTime.Now; } }