|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Entity;
|
|
|
|
/// <summary>
|
|
|
|
/// 商品信息表
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarTable("op_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 = "入库应收", Length = 18,DecimalDigits = 2,DefaultValue ="0")]
|
|
|
|
public decimal ARRate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 入库应付
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "入库应收", Length = 18,DecimalDigits = 2,DefaultValue ="0")]
|
|
|
|
public decimal APRate { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 出库应收
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "出库应收", Length = 18,DecimalDigits = 2,DefaultValue ="0")]
|
|
|
|
public decimal AROutRate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 出库应付
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "出库应收", Length = 18,DecimalDigits = 2,DefaultValue ="0")]
|
|
|
|
public decimal APOutRate { 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;
|
|
|
|
}
|