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.
110 lines
2.9 KiB
C#
110 lines
2.9 KiB
C#
using System.ComponentModel;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Code.Entity
|
|
{
|
|
/// <summary>
|
|
/// 发票商品编码表
|
|
/// </summary>
|
|
[SugarTable("code_invoice", "发票商品编码表")]
|
|
public class CodeInvoice : BaseOrgModelV2<long>
|
|
{
|
|
/// <summary>
|
|
/// 编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "编码", Length = 50, IsNullable = false)]
|
|
public string Code { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "名称", Length = 100, IsNullable = false)]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 税目
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "税目", Length = 50, IsNullable = true)]
|
|
public string? TaxCategory { get; set; }
|
|
|
|
/// <summary>
|
|
/// 税率
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "税率")]
|
|
public decimal TaxRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 零税率标识
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "零税率标识")]
|
|
public ZeroTaxRateIdentification Identification { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否含税
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否含税")]
|
|
public bool IsIncludingTax { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否默认商品名
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否默认商品名")]
|
|
public bool IsDefault { get; set; }
|
|
|
|
/// <summary>
|
|
/// 默认币别
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "默认币别", Length = 3, IsNullable = true)]
|
|
public string? DefaultCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// 规格型号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "规格型号", Length = 100, IsNullable = true)]
|
|
public string? Specification { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "单位", IsNullable = true, Length = 50)]
|
|
public string? Unit { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 零税率标识
|
|
/// </summary>
|
|
public enum ZeroTaxRateIdentification
|
|
{
|
|
/// <summary>
|
|
/// 非零税率
|
|
/// </summary>
|
|
[Description("非零税率")]
|
|
NonZero,
|
|
|
|
/// <summary>
|
|
/// 免征
|
|
/// </summary>
|
|
[Description("免征")]
|
|
Exemption,
|
|
|
|
/// <summary>
|
|
/// 不征收
|
|
/// </summary>
|
|
[Description("不征收")]
|
|
NotLevied,
|
|
|
|
/// <summary>
|
|
/// 普通零税率
|
|
/// </summary>
|
|
[Description("普通零税率")]
|
|
Ordinary,
|
|
|
|
/// <summary>
|
|
/// 出口退税
|
|
/// </summary>
|
|
[Description("出口退税")]
|
|
ExportTaxRebate
|
|
}
|
|
}
|