using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using SqlSugar;
|
using WIDESEA_Core.DB.Models;
|
namespace WIDESEA_Model.Models
|
{
|
/// <summary>
|
/// 生产入库主表
|
///</summary>
|
[SugarTable("Dt_InboundOrderProduction")]
|
public class Dt_InboundOrderProduction: BaseEntity
|
{
|
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="OrderId" ,IsPrimaryKey = true) ]
|
public Guid OrderId { get; set; }
|
|
/// <summary>
|
/// 备 注:单据编号
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="ProductionNo" ) ]
|
public string? ProductionNo { get; set; }
|
|
/// <summary>
|
/// 备 注:批次号
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="BatchNo" ) ]
|
public string? BatchNo { get; set; }
|
|
/// <summary>
|
/// 备 注:生产日期
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="ProductionDate" ) ]
|
public string? ProductionDate { get; set; }
|
|
/// <summary>
|
/// 备 注:单据类型
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="ProductionType" ) ]
|
public string? ProductionType { get; set; }
|
|
/// <summary>
|
/// 备 注:单据状态
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="ProductionState" ) ]
|
public string? ProductionState { get; set; }
|
|
/// <summary>
|
/// 备 注:同步标志(0:未同步 1:同步成功 2:同步失败)
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="SynchronizationFlag" ) ]
|
public int? SynchronizationFlag { get; set; }
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Remark" ) ]
|
public string? Remark { get; set; }
|
|
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Spare1" ) ]
|
public string? Spare1 { get; set; }
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Spare2" ) ]
|
public string? Spare2 { get; set; }
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Spare3" ) ]
|
public string? Spare3 { get; set; }
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Spare4" ) ]
|
public string? Spare4 { get; set; }
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Spare5" ) ]
|
public string? Spare5 { get; set; }
|
|
[Navigate(NavigateType.OneToMany, nameof(Dt_InboundOrderProductionDetail.OrderId))]
|
public List<Dt_InboundOrderProductionDetail> Dt_InboundOrderProductionDetailList { get; set; }
|
|
}
|
|
}
|