using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 发货通知单
///
[SugarTable("invoice","发货通知单")]
public class Invoice : EntityTenant
{
///
/// 单号
///
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "单号", Length = 32)]
public string? CodeNum { get; set; }
///
/// 业务日期
///
[SugarColumn(ColumnName = "StartDate", ColumnDescription = "业务日期")]
public DateTime? StartDate { get; set; }
///
/// 业务类型
///
[Required]
[SugarColumn(ColumnName = "BusinessType", ColumnDescription = "业务类型", Length = 32)]
public string? BusinessType { get; set; }
///
/// 客户
///
[Required]
[SugarColumn(ColumnName = "Custom", ColumnDescription = "客户", Length = 32)]
public string? Custom { get; set; }
///
/// 仓库
///
[Required]
[SugarColumn(ColumnName = "Warehouse", ColumnDescription = "仓库", Length = 32)]
public string? Warehouse { get; set; }
///
/// 部门
///
[SugarColumn(ColumnName = "Department", ColumnDescription = "部门", Length = 32)]
public string? Department { get; set; }
///
/// 车牌号
///
[SugarColumn(ColumnName = "CarNumber", ColumnDescription = "车牌号", Length = 32)]
public string? CarNumber { get; set; }
///
/// 停车位
///
[SugarColumn(ColumnName = "ParkingSpace", ColumnDescription = "停车位", Length = 32)]
public string? ParkingSpace { get; set; }
///
/// 业务员
///
[SugarColumn(ColumnName = "Salesman", ColumnDescription = "业务员", Length = 32)]
public string? Salesman { get; set; }
///
/// 收货单位
///
[SugarColumn(ColumnName = "Consignee", ColumnDescription = "收货单位", Length = 32)]
public string? Consignee { get; set; }
///
/// 交货日期
///
[SugarColumn(ColumnName = "DeliveryDate", ColumnDescription = "交货日期")]
public DateTime? DeliveryDate { get; set; }
///
/// 交货地址
///
[SugarColumn(ColumnName = "DeliveryAddress", ColumnDescription = "交货地址", Length = 128)]
public string? DeliveryAddress { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 128)]
public string? Remarks { get; set; }
///
/// 方案客户拓展
///
[SugarColumn(ColumnName = "CustomExpand", ColumnDescription = "方案客户拓展", Length = 32)]
public string? CustomExpand { get; set; }
///
/// 发货拓展
///
[SugarColumn(ColumnName = "SendOutExpand", ColumnDescription = "发货拓展", Length = 32)]
public string? SendOutExpand { get; set; }
///
/// 仓库ID
///
[SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
public long? WarehouseId { get; set; }
///
/// 状态
///
[SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
public int? State { get; set; }
///
/// 审核状态
///
[SugarColumn(ColumnName = "AuditState", ColumnDescription = "状态")]
public int? AuditState { get; set; }
}