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 { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="OrderId" ,IsPrimaryKey = true) ] public Guid 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; } /// /// 备 注:单据类型 /// 默认值: /// [SugarColumn(ColumnName="ProductionType" ) ] public string? ProductionType { get; set; } /// /// 备 注:单据状态 /// 默认值: /// [SugarColumn(ColumnName="ProductionState" ) ] public string? 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; } } }