71 lines
2.0 KiB
C#
71 lines
2.0 KiB
C#
|
using Admin.NET.Core;
|
|||
|
namespace Admin.NET.Application.Entity;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 产品条码
|
|||
|
/// </summary>
|
|||
|
[SugarTable("ProductBarCode","产品条码")]
|
|||
|
public class ProductBarCode : EntityTenant
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 条码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "BarCode", ColumnDescription = "条码", Length = 64)]
|
|||
|
public string? BarCode { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 上级码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "ParentCode", ColumnDescription = "上级码", Length = 64)]
|
|||
|
public string? ParentCode { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 条码类型
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "BarCodeType", ColumnDescription = "条码类型", Length = 32)]
|
|||
|
public string? BarCodeType { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 状态
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
|
|||
|
public int? State { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 物料名称
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "MaterialName", ColumnDescription = "物料名称", Length = 64)]
|
|||
|
public string? MaterialName { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 物料编码
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "MaterialCode", ColumnDescription = "物料编码", Length = 32)]
|
|||
|
public string? MaterialCode { 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>
|
|||
|
/// 单位ID
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "UnitId", ColumnDescription = "单位ID")]
|
|||
|
public long? UnitId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 基本数量
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "BaseCount", ColumnDescription = "基本数量")]
|
|||
|
public int? BaseCount { get; set; }
|
|||
|
|
|||
|
}
|