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