You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.4 KiB
C#
80 lines
2.4 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Code.Entity;
|
|
/// <summary>
|
|
/// 商品信息表
|
|
/// </summary>
|
|
[SqlSugar.SugarTable("code_goods","商品信息表")]
|
|
public class CodeGoods: BaseModel<long>
|
|
{
|
|
/// <summary>
|
|
/// 商品编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "商品编码", Length = 30)]
|
|
public string GoodsCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "商品名称", Length = 50)]
|
|
public string GoodName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "物料号", Length = 50,IsNullable = true)]
|
|
public string GoodNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 英文名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "英文名称", Length = 10,IsNullable = true)]
|
|
public string EnName { get; set; }
|
|
/// <summary>
|
|
/// 商品描述
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "商品描述", Length = 200,IsNullable = true)]
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "商品类型", IsNullable = true)]
|
|
public long GoodsTypeId { get; set; }
|
|
/// <summary>
|
|
/// 计费大类
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "计费大类", IsNullable = true)]
|
|
public long GoodsFeeTypeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 海关代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "海关代码", Length = 50,IsNullable = true)]
|
|
public string HSCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 申报计量单位
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "物料号", Length = 50,IsNullable = true)]
|
|
public string RuleUnit { get; set; }
|
|
|
|
/// <summary>
|
|
/// 法定第一计量单位
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "法定第一计量单位", Length = 50,IsNullable = true)]
|
|
public string RuleUnit1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 法定第二计量单位
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "法定第二计量单位", Length = 50,IsNullable = true)]
|
|
public string RuleUnit2 { get; set; }
|
|
/// <summary>
|
|
/// 状态 0启用 1禁用
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
} |