刘磊
2025-06-09 dabbcafc629ef87d11ba55ef8cc1cdc776c047d8
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_OutOrderProduction", "生产出库单头表")]
public class Dt_OutOrderProduction : BaseEntity
{
    /// <summary>
    /// 备  注:主键,自动增长
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键,自动增长")]
    public int Id { get; set; }
 
    /// <summary>
    /// 备  注:单据编号
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "OrderNumber", ColumnDescription = "单据编号", Length = 30)]
    public string OrderNumber { get; set; } = null!;
 
    /// <summary>
    /// 备  注:单据日期
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "OrderDate", ColumnDescription = "单据日期")]
    public DateTime OrderDate { get; set; }
 
    /// <summary>
    /// 备  注:仓库ID
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
    public int WarehouseId { get; set; }
 
    /// <summary>
    /// 备  注:单据状态
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Status", ColumnDescription = "单据状态")]
    public int Status { get; set; }
 
    /// <summary>
    /// 备  注:备注
    /// 默认值:
    ///</summary>
    [SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 100, IsNullable = true)]
    public string? Remarks { get; set; }
}