using SqlSugar;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models;
|
|
/// <summary>
|
/// 系统出库订单明细
|
///</summary>
|
[SugarTable("Dt_OutOrderDetail", "系统出库订单明细")]
|
public class Dt_OutOrderDetail : BaseEntity
|
{
|
/// <summary>
|
/// 备 注: 主键,自动增长
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = " 主键,自动增长")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 备 注:出库单ID(外键)
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "OutOrderId", ColumnDescription = "出库单ID(外键)", IsNullable = false)]
|
public int OutOrderId { get; set; }
|
|
/// <summary>
|
/// 备 注:物料ID
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "MaterialId", ColumnDescription = "物料ID", IsNullable = false)]
|
public int MaterialId { get; set; }
|
|
/// <summary>
|
/// 备 注: 物料名称
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "MaterialName", ColumnDescription = " 物料名称", IsNullable = false, Length = 30)]
|
public string MaterialName { get; set; } = null!;
|
|
/// <summary>
|
/// 备 注:批次号
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "BatchNumber", ColumnDescription = "批次号", IsNullable = false, Length = 30)]
|
public string BatchNumber { get; set; } = null!;
|
|
/// <summary>
|
/// 备 注:出库数量
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "OutboundQuantity", ColumnDescription = "出库数量", IsNullable = false)]
|
public decimal OutboundQuantity { get; set; }
|
|
/// <summary>
|
/// 备 注:分配数量
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "AllocatedQuantity", ColumnDescription = "分配数量", IsNullable = false)]
|
public decimal AllocatedQuantity { get; set; }
|
|
/// <summary>
|
/// 备 注:完成数量
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "CompletedQuantity", ColumnDescription = "完成数量", IsNullable = false)]
|
public decimal CompletedQuantity { get; set; }
|
|
/// <summary>
|
/// 备 注:备注
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", IsNullable = true, Length = 100)]
|
public string? Remarks { get; set; }
|
|
/// <summary>
|
/// 备 注:备用字段1
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "SpareField1", ColumnDescription = "备用字段1", IsNullable = true, Length = 30)]
|
public string? SpareField1 { get; set; }
|
|
/// <summary>
|
/// 备 注:备用字段2
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "SpareField2", ColumnDescription = "备用字段2", IsNullable = true, Length = 30)]
|
public string? SpareField2 { get; set; }
|
|
/// <summary>
|
/// 备 注:备用字段3
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "SpareField3", ColumnDescription = "备用字段3", IsNullable = true, Length = 30)]
|
public string? SpareField3 { get; set; }
|
|
/// <summary>
|
/// 备 注:备用字段4
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "SpareField4", ColumnDescription = "备用字段4", IsNullable = true, Length = 30)]
|
public string? SpareField4 { get; set; }
|
|
/// <summary>
|
/// 备 注:备用字段5
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "SpareField5", ColumnDescription = "备用字段5", IsNullable = true, Length = 30)]
|
public string? SpareField5 { get; set; }
|
}
|