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

122 lines
3.6 KiB
C#
Raw Normal View History

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("invoice","发货通知单")]
2024-03-20 06:11:00 +00:00
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>
2024-06-14 10:08:48 +00:00
[Required]
2024-03-20 06:11:00 +00:00
[SugarColumn(ColumnName = "BusinessType", ColumnDescription = "业务类型", Length = 32)]
2024-07-02 03:23:29 +00:00
public string? BusinessType { get; set; }
2024-03-20 06:11:00 +00:00
/// <summary>
/// 客户
/// </summary>
2024-06-14 10:08:48 +00:00
[Required]
2024-03-20 06:11:00 +00:00
[SugarColumn(ColumnName = "Custom", ColumnDescription = "客户", Length = 32)]
2024-07-02 03:23:29 +00:00
public string? Custom { get; set; }
2024-03-20 06:11:00 +00:00
/// <summary>
/// 仓库
/// </summary>
2024-06-14 10:08:48 +00:00
[Required]
2024-03-20 06:11:00 +00:00
[SugarColumn(ColumnName = "Warehouse", ColumnDescription = "仓库", Length = 32)]
2024-07-02 03:23:29 +00:00
public string? Warehouse { get; set; }
2024-03-20 06:11:00 +00:00
/// <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; }
2024-06-14 10:08:48 +00:00
/// <summary>
/// 仓库ID
/// </summary>
[SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
public long? WarehouseId { get; set; }
2024-07-06 14:34:20 +00:00
/// <summary>
/// 状态
/// </summary>
[SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
public int? State { get; set; }
2024-07-08 16:45:18 +00:00
/// <summary>
/// 审核状态
/// </summary>
[SugarColumn(ColumnName = "AuditState", ColumnDescription = "状态")]
public int? AuditState { get; set; }
2024-03-20 06:11:00 +00:00
}