using SqlSugar;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models;
/// 
/// 生产出库单头表
///
[SugarTable("Dt_OutOrderProduction", "生产出库单头表")]
public class Dt_OutOrderProduction : BaseEntity
{
    /// 
    /// 备  注:主键,自动增长
    /// 默认值:
    ///
    [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键,自动增长")]
    public int Id { get; set; }
    /// 
    /// 备  注:单据编号
    /// 默认值:
    ///
    [SugarColumn(ColumnName = "OrderNumber", ColumnDescription = "单据编号", Length = 30)]
    public string OrderNumber { get; set; } = null!;
    /// 
    /// 备  注:单据日期
    /// 默认值:
    ///
    [SugarColumn(ColumnName = "OrderDate", ColumnDescription = "单据日期")]
    public DateTime OrderDate { get; set; }
    /// 
    /// 备  注:仓库ID
    /// 默认值:
    ///
    [SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
    public int WarehouseId { get; set; }
    /// 
    /// 备  注:单据状态
    /// 默认值:
    ///
    [SugarColumn(ColumnName = "Status", ColumnDescription = "单据状态")]
    public int Status { get; set; }
    /// 
    /// 备  注:备注
    /// 默认值:
    ///
    [SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 100, IsNullable = true)]
    public string? Remarks { get; set; }
}