2024-03-20 06:11:00 +00:00
|
|
|
|
using Admin.NET.Core;
|
|
|
|
|
namespace Admin.NET.Application.Entity;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库单
|
|
|
|
|
/// </summary>
|
2024-06-14 10:08:48 +00:00
|
|
|
|
[SugarTable("outbound","出库单")]
|
2024-03-20 06:11:00 +00:00
|
|
|
|
public class Outbound : EntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "单号", Length = 32)]
|
|
|
|
|
public string? CodeNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 来源单号
|
|
|
|
|
/// </summary>
|
2024-06-14 10:08:48 +00:00
|
|
|
|
[Required]
|
2024-03-20 06:11:00 +00:00
|
|
|
|
[SugarColumn(ColumnName = "SourceCodeNum", ColumnDescription = "来源单号", Length = 32)]
|
|
|
|
|
public string SourceCodeNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
|
|
|
|
|
public int? State { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BusinessType", ColumnDescription = "业务类型", Length = 32)]
|
|
|
|
|
public string? BusinessType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货单位
|
|
|
|
|
/// </summary>
|
2024-06-14 10:08:48 +00:00
|
|
|
|
[Required]
|
2024-03-20 06:11:00 +00:00
|
|
|
|
[SugarColumn(ColumnName = "Consignee", ColumnDescription = "收货单位", Length = 32)]
|
|
|
|
|
public string Consignee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ExaminerId", ColumnDescription = "审核人ID")]
|
|
|
|
|
public long? ExaminerId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库单整型拓展字段
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OutboundExpandInt", ColumnDescription = "出库单整型拓展字段")]
|
|
|
|
|
public int? OutboundExpandInt { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库单字符串拓展字段
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OutboundExpandString", ColumnDescription = "出库单字符串拓展字段", Length = 64)]
|
|
|
|
|
public string? OutboundExpandString { get; set; }
|
|
|
|
|
|
2024-06-14 10:08:48 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "Warehouse", ColumnDescription = "仓库", Length = 255)]
|
|
|
|
|
public string? Warehouse { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "StartDate", ColumnDescription = "业务日期")]
|
|
|
|
|
public DateTime? StartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
|
|
|
|
|
public long? WarehouseId { get; set; }
|
|
|
|
|
|
2024-03-20 06:11:00 +00:00
|
|
|
|
}
|