using SqlSugar;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models;
|
|
/// <summary>
|
/// 生产出库单明细
|
///</summary>
|
[SugarTable("Dt_OutOrderProductionDetail", "生产出库单明细")]
|
public class Dt_OutOrderProductionDetail : BaseEntity
|
{
|
/// <summary>
|
/// 备 注:主键,自动增长
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键,自动增长")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 备 注:生产出库单ID(外键)
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "ProductionOutOrderId", ColumnDescription = "生产出库单ID(外键)")]
|
public int ProductionOutOrderId { get; set; }
|
|
/// <summary>
|
/// 备 注:物料ID
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "MaterialId", ColumnDescription = "物料ID")]
|
public int MaterialId { get; set; }
|
|
/// <summary>
|
/// 备 注: 数量
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "Quantity", ColumnDescription = " 数量")]
|
public decimal Quantity { get; set; }
|
|
/// <summary>
|
/// 备 注:备注
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 100)]
|
public string? Remarks { get; set; }
|
|
/// <summary>
|
/// 备 注:批次号
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName = "BatchNumber", ColumnDescription = "批次号", Length = 30)]
|
public string BatchNumber { get; set; } = null!;
|
}
|