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

132 lines
3.9 KiB
C#
Raw Normal View History

2024-06-06 10:22:07 +00:00
using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 商品追溯
/// </summary>
[SugarTable("productretrospect","商品追溯")]
public class ProductRetrospect : EntityBase
{
/// <summary>
/// 单号
/// </summary>
[SugarColumn(ColumnName = "OddNumber", ColumnDescription = "单号", Length = 32)]
public string? OddNumber { get; set; }
/// <summary>
/// 条码类型
/// </summary>
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "条码类型", Length = 32)]
public string? CodeType { get; set; }
/// <summary>
/// 扫码时间
/// </summary>
[SugarColumn(ColumnName = "ScanCodeTime", ColumnDescription = "扫码时间")]
public DateTime? ScanCodeTime { get; set; }
/// <summary>
/// 业务类型
/// </summary>
[SugarColumn(ColumnName = "BusinessType", ColumnDescription = "业务类型", Length = 32)]
public string? BusinessType { get; set; }
/// <summary>
/// 收货/供货单位
/// </summary>
[SugarColumn(ColumnName = "Destination", ColumnDescription = "收货/供货单位", Length = 32)]
public string? Destination { get; set; }
/// <summary>
/// 所在地区
/// </summary>
[SugarColumn(ColumnName = "Location", ColumnDescription = "所在地区", Length = 32)]
public string? Location { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
[SugarColumn(ColumnName = "WarehouseID", ColumnDescription = "仓库ID")]
public long? WarehouseID { get; set; }
/// <summary>
/// 单据类型
/// </summary>
[SugarColumn(ColumnName = "Receipt", ColumnDescription = "单据类型", Length = 32)]
public string? Receipt { get; set; }
/// <summary>
/// 部门
/// </summary>
[SugarColumn(ColumnName = "Department", ColumnDescription = "部门", Length = 32)]
public string? Department { get; set; }
/// <summary>
/// 批次
/// </summary>
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 32)]
public string? Batch { get; set; }
/// <summary>
/// 数量
/// </summary>
[SugarColumn(ColumnName = "Count", ColumnDescription = "数量")]
public int? Count { get; set; }
/// <summary>
/// 单位
/// </summary>
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string? Unit { get; set; }
/// <summary>
/// 基本数量
/// </summary>
[SugarColumn(ColumnName = "BaseCount", ColumnDescription = "基本数量")]
public int? BaseCount { get; set; }
/// <summary>
/// 基本单位
/// </summary>
[SugarColumn(ColumnName = "BaseUnit", ColumnDescription = "基本单位", Length = 32)]
public string? BaseUnit { get; set; }
/// <summary>
/// 业务日期
/// </summary>
[SugarColumn(ColumnName = "WarehousingDate", ColumnDescription = "业务日期")]
public DateTime? WarehousingDate { get; set; }
/// <summary>
/// 物料ID
/// </summary>
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料ID")]
public long? MaterialsId { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
/// <summary>
/// 源ID
/// </summary>
[SugarColumn(ColumnName = "SourceId", ColumnDescription = "源ID")]
public long? SourceId { get; set; }
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
/// <summary>
/// 条码
/// </summary>
[Required]
[SugarColumn(ColumnName = "Code", ColumnDescription = "条码", Length = 32)]
public string Code { get; set; }
}