刘磊
2025-04-19 823752496e2a4cdb6a1fb36227cd15b8b7135336
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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!;
}