DigitalFactory/Admin.NET/Admin.NET.Application/Entity/Invoice.cs

101 lines
3.1 KiB
C#

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