DigitalFactory/Admin.NET/Admin.NET.Application/Entity/ProductCodeConfiguration.cs

41 lines
1.2 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 产码配置
/// </summary>
[SugarTable("ProductCodeConfiguration","产码配置")]
public class ProductCodeConfiguration : EntityTenant
{
/// <summary>
/// 条码类型
/// </summary>
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "条码类型", Length = 32)]
public string? CodeType { get; set; }
/// <summary>
/// 条码类型ID
/// </summary>
[SugarColumn(ColumnName = "CodeTypeId", ColumnDescription = "条码类型ID")]
public long? CodeTypeId { get; set; }
/// <summary>
/// 条码长度
/// </summary>
[SugarColumn(ColumnName = "CodeLength", ColumnDescription = "条码长度")]
public int? CodeLength { get; set; }
/// <summary>
/// 内码长度
/// </summary>
[SugarColumn(ColumnName = "InternalCodeLength", ColumnDescription = "内码长度")]
public int? InternalCodeLength { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
}