using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
///
/// 商品信息表
///
[SqlSugar.SugarTable("code_goods","商品信息表")]
public class CodeGoods: BaseModel
{
///
/// 商品编码
///
[SugarColumn(ColumnDescription = "商品编码", Length = 30)]
public string GoodsCode { get; set; }
///
/// 商品名称
///
[SugarColumn(ColumnDescription = "商品名称", Length = 50)]
public string GoodName { get; set; }
///
/// 物料号
///
[SugarColumn(ColumnDescription = "物料号", Length = 50,IsNullable = true)]
public string GoodNo { get; set; }
///
/// 英文名称
///
[SugarColumn(ColumnDescription = "英文名称", Length = 10,IsNullable = true)]
public string EnName { get; set; }
///
/// 商品描述
///
[SugarColumn(ColumnDescription = "商品描述", Length = 200,IsNullable = true)]
public string Description { get; set; }
///
/// 商品类型
///
[SugarColumn(ColumnDescription = "商品类型", IsNullable = true)]
public long GoodsTypeId { get; set; }
///
/// 计费大类
///
[SugarColumn(ColumnDescription = "计费大类", IsNullable = true)]
public long GoodsFeeTypeId { get; set; }
///
/// 海关代码
///
[SugarColumn(ColumnDescription = "海关代码", Length = 50,IsNullable = true)]
public string HSCode { get; set; }
///
/// 申报计量单位
///
[SugarColumn(ColumnDescription = "物料号", Length = 50,IsNullable = true)]
public string RuleUnit { get; set; }
///
/// 法定第一计量单位
///
[SugarColumn(ColumnDescription = "法定第一计量单位", Length = 50,IsNullable = true)]
public string RuleUnit1 { get; set; }
///
/// 法定第二计量单位
///
[SugarColumn(ColumnDescription = "法定第二计量单位", Length = 50,IsNullable = true)]
public string RuleUnit2 { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}