using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// 生产入库主表 /// [SugarTable("Dt_InboundOrderProduction")] public class Dt_InboundOrderProduction : BaseEntity { /// /// 备 注:入库单ID /// 默认值: /// [SugarColumn(ColumnName="OrderId" ,IsPrimaryKey = true,IsIdentity = true) ] public int OrderId { get; set; } /// /// 备 注:单据编号 /// 默认值: /// [SugarColumn(ColumnName="ProductionNo" ) ] public string? ProductionNo { get; set; } /// /// 备 注:批次号 /// 默认值: /// [SugarColumn(ColumnName="BatchNo" ) ] public string? BatchNo { get; set; } /// /// 备 注:生产日期 /// 默认值: /// [SugarColumn(ColumnName="ProductionDate" ) ] public string? ProductionDate { get; set; } /// /// 备 注:单据类型1,一般入库 2,盘点入库 3,分拣入库 4,质检入库 5,库内移库 6,库外移库 /// 默认值: /// [SugarColumn(ColumnName="ProductionType" ) ] public int? ProductionType { get; set; } /// /// 备 注:单据状态 /// 默认值: /// [SugarColumn(ColumnName="ProductionState" ) ] public int? ProductionState { get; set; } /// /// 备 注:同步标志(0:未同步 1:同步成功 2:同步失败) /// 默认值: /// [SugarColumn(ColumnName="SynchronizationFlag" ) ] public int? SynchronizationFlag { 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; } /// /// 入库单明细 /// [Navigate(NavigateType.OneToMany, nameof(Dt_InboundOrderProductionDetail.OrderId))] public List Dt_InboundOrderProductionDetailList { get; set; } } }