using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace Models { /// /// 订单主表 /// [SugarTable("EC_OrderBasic")] public class EC_OrderBasic { /// /// 备 注:唯一编号 /// 默认值: /// [SugarColumn(ColumnName="Keyid" ,IsPrimaryKey = true,IsIdentity = true) ] public int Keyid { get; set; } /// /// 备 注:卖家订单号 /// 默认值: /// [SugarColumn(ColumnName="SellerOrderId" ) ] public string? SellerOrderId { get; set; } /// /// 备 注:询价、需求、特价、新增、外协 /// 默认值: /// [SugarColumn(ColumnName="OrderTypeId" ) ] public int OrderTypeId { get; set; } /// /// 备 注:印刷类别 /// 默认值: /// [SugarColumn(ColumnName="PrintTypeId" ) ] public int PrintTypeId { get; set; } /// /// 备 注:卖家名称 /// 默认值: /// [SugarColumn(ColumnName="SellerName" ) ] public string? SellerName { get; set; } /// /// 备 注:买家名称 /// 默认值: /// [SugarColumn(ColumnName="BuyerName" ) ] public string? BuyerName { get; set; } /// /// 备 注:印件名称 /// 默认值: /// [SugarColumn(ColumnName="DocumentName" ) ] public string? DocumentName { get; set; } /// /// 备 注:交货时间 /// 默认值: /// [SugarColumn(ColumnName="DeliveryTime" ) ] public DateTime? DeliveryTime { get; set; } /// /// 备 注:关联卖家 /// 默认值: /// [SugarColumn(ColumnName="SellerId" ) ] public Guid SellerId { get; set; } /// /// 备 注:关联买家 /// 默认值: /// [SugarColumn(ColumnName="BuyerId" ) ] public Guid BuyerId { get; set; } /// /// 备 注:单价 /// 默认值: /// [SugarColumn(ColumnName="UnitPrice" ) ] public decimal? UnitPrice { get; set; } /// /// 备 注:金额 /// 默认值: /// [SugarColumn(ColumnName="SumPrice" ) ] public decimal SumPrice { get; set; } /// /// 备 注:订单状态 /// 默认值: /// [SugarColumn(ColumnName="OrderState" ) ] public int OrderState { get; set; } /// /// 备 注:支付状态 /// 默认值: /// [SugarColumn(ColumnName="PayState" ) ] public int PayState { get; set; } /// /// 备 注:制单时间 /// 默认值: /// [SugarColumn(ColumnName="CreateTime" ) ] public DateTime CreateTime { get; set; } /// /// 备 注:制单人 /// 默认值: /// [SugarColumn(ColumnName="Creater" ) ] public string Creater { get; set; } = null!; /// /// 备 注:最后修改时间 /// 默认值: /// [SugarColumn(ColumnName="LastUpdateTime" ) ] public DateTime LastUpdateTime { get; set; } /// /// 备 注:操作人 /// 默认值: /// [SugarColumn(ColumnName="Operator" ) ] public string Operator { get; set; } = null!; /// /// 备 注:备注 /// 默认值: /// [SugarColumn(ColumnName="Remark" ) ] public string? Remark { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="TheoryCompleteDate" ) ] public DateTime? TheoryCompleteDate { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="CompledState" ) ] public bool? CompledState { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="CompledTime" ) ] public DateTime? CompledTime { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="CompledOperator" ) ] public string? CompledOperator { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="CompledRemarks" ) ] public string? CompledRemarks { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="IsDeferPay" ) ] public bool? IsDeferPay { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="IsPrint" ) ] public bool? IsPrint { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="OutId" ) ] public int? OutId { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="IsPrintbiaoqian" ) ] public bool? IsPrintbiaoqian { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="SuodanState" ) ] public bool? SuodanState { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="SuodanTime" ) ] public DateTime? SuodanTime { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="SuodanOperator" ) ] public string? SuodanOperator { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="LiuyangStatus" ) ] public int? LiuyangStatus { get; set; } } }