using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// 采购入库明细 /// [SugarTable("Dt_InboundOrderPurchaseDetail")] public class Dt_InboundOrderPurchaseDetail: BaseEntity { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="OrderDetailId" ,IsPrimaryKey = true) ] public Guid OrderDetailId { get; set; } /// /// 备 注:外健(关联主表ID) /// 默认值: /// [SugarColumn(ColumnName="OrderId" ) ] public Guid? OrderId { get; set; } /// /// 备 注:单据编号 /// 默认值: /// [SugarColumn(ColumnName="PurchaseNo" ) ] public string? PurchaseNo { get; set; } /// /// 备 注:批次号 /// 默认值: /// [SugarColumn(ColumnName="BatchNo" ) ] public string? BatchNo { get; set; } /// /// 备 注:交货日期 /// 默认值: /// [SugarColumn(ColumnName="DeliveryDate" ) ] public DateTime? DeliveryDate { get; set; } /// /// 备 注:供应商 /// 默认值: /// [SugarColumn(ColumnName="PurchaseSupplier" ) ] public string? PurchaseSupplier { get; set; } /// /// 备 注:采购组织 /// 默认值: /// [SugarColumn(ColumnName="PurchaseOrganize" ) ] public string? PurchaseOrganize { get; set; } /// /// 备 注:单据状态 /// 默认值: /// [SugarColumn(ColumnName="PurchaseState" ) ] public string? PurchaseState { get; set; } /// /// 备 注:物料编码 /// 默认值: /// [SugarColumn(ColumnName="PurchaseMatcode" ) ] public string? PurchaseMatcode { get; set; } /// /// 备 注:物料名称 /// 默认值: /// [SugarColumn(ColumnName="PurchaseName" ) ] public string? PurchaseName { get; set; } /// /// 备 注:应收数量 /// 默认值: /// [SugarColumn(ColumnName="PurchaseQty" ) ] public string? PurchaseQty { get; set; } /// /// 备 注:采购单位 /// 默认值: /// [SugarColumn(ColumnName="PurchaseUnit" ) ] public string? PurchaseUnit { get; set; } /// /// 备 注:备注 /// 默认值: /// [SugarColumn(ColumnName="Remark" ) ] public string? Remark { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="Spare1" ) ] public string? Spare1 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="Spare2" ) ] public string? Spare2 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="Spare3" ) ] public string? Spare3 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="Spare4" ) ] public string? Spare4 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="Spare5" ) ] public string? Spare5 { get; set; } } }