215 lines
6.6 KiB
C#
215 lines
6.6 KiB
C#
|
using Admin.NET.Core;
|
|||
|
namespace Admin.NET.Application.Entity;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 产品入库
|
|||
|
/// </summary>
|
|||
|
[SugarTable("ProductWarehousing","产品入库")]
|
|||
|
public class ProductWarehousing : EntityTenant
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 名称
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
|
|||
|
public string? Name { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 商品条码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "GoodCode", ColumnDescription = "商品条码", Length = 32)]
|
|||
|
public string? GoodCode { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 物料ID
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料ID")]
|
|||
|
public long? MaterialsId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 物料编码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "MaterialsNum", ColumnDescription = "物料编码", Length = 32)]
|
|||
|
public string? MaterialsNum { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 规格
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Specifications", ColumnDescription = "规格", Length = 32)]
|
|||
|
public string? Specifications { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 分类
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Classify", ColumnDescription = "分类", Length = 32)]
|
|||
|
public string? Classify { 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 = "PackageScale", ColumnDescription = "包装比例", Length = 32)]
|
|||
|
public string? PackageScale { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 批次
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 32)]
|
|||
|
public string? Batch { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 公司
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Custom", ColumnDescription = "公司", Length = 32)]
|
|||
|
public string? Custom { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 品牌
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Brand", ColumnDescription = "品牌", Length = 32)]
|
|||
|
public string? Brand { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 条码类型
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "条码类型", Length = 32)]
|
|||
|
public string? CodeType { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 条码数量
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "CodeCount", ColumnDescription = "条码数量")]
|
|||
|
public int? CodeCount { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 库位
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "WarehouseLocation", ColumnDescription = "库位", Length = 32)]
|
|||
|
public string? WarehouseLocation { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 生产日期
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "ProductDate", ColumnDescription = "生产日期")]
|
|||
|
public DateTime? ProductDate { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 失效日期
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "LoseDate", ColumnDescription = "失效日期")]
|
|||
|
public DateTime? LoseDate { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 单重
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "SingleWeight", ColumnDescription = "单重", Length = 10, DecimalDigits=0 )]
|
|||
|
public decimal? SingleWeight { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 总重
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "TotalWeight", ColumnDescription = "总重", Length = 10, DecimalDigits=0 )]
|
|||
|
public decimal? TotalWeight { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 单价
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "UnitPrice", ColumnDescription = "单价", Length = 10, DecimalDigits=0 )]
|
|||
|
public decimal? UnitPrice { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 总价
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "TotalPrice", ColumnDescription = "总价", Length = 10, DecimalDigits=0 )]
|
|||
|
public decimal? TotalPrice { 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>
|
|||
|
/// 仓库ID
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
|
|||
|
public long? WarehouseId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 拓展字段
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "ExpandField", ColumnDescription = "拓展字段", Length = 32)]
|
|||
|
public string? ExpandField { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 入库类型
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "WarehousingType", ColumnDescription = "入库类型", Length = 32)]
|
|||
|
public string? WarehousingType { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 物料编码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "物料编码", Length = 32)]
|
|||
|
public string? CodeNum { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 入库日期
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "WarehousingDate", ColumnDescription = "入库日期")]
|
|||
|
public DateTime? WarehousingDate { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 供应商
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Supplier", ColumnDescription = "供应商", Length = 32)]
|
|||
|
public string? Supplier { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 状态
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "Status", ColumnDescription = "状态")]
|
|||
|
public int? Status { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 单号
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "OddNumber", ColumnDescription = "单号", Length = 32)]
|
|||
|
public string? OddNumber { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 生产线
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "ProductionLine", ColumnDescription = "生产线", Length = 32)]
|
|||
|
public string? ProductionLine { get; set; }
|
|||
|
|
|||
|
}
|