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.

43 lines
1.3 KiB
C#

using System.ComponentModel;
using DS.Module.Core;
using DS.Module.Core.Data;
using DS.Module.Core.Enums;
using SqlSugar;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 业务编码表
/// </summary>
[SqlSugar.SugarTable("op_business_sequence", "业务编码表")]
public class BusinessSequence: BaseModel<long>
{
[SugarColumn(ColumnDescription = "编码规则Id")]
public long SequenceId { get; set; }
/// <summary>
/// 当前值
/// </summary>
[SugarColumn(ColumnDescription = "当前值", IsNullable = true)]
public int CurrentNo { get; set; }
/// <summary>
/// 编码前缀
/// </summary>
[SugarColumn(ColumnDescription = "编码前缀", Length = 100, IsNullable = true)]
public string Prefix { get; set; }
/// <summary>
/// 当前编码
/// </summary>
[SugarColumn(ColumnDescription = "当前编码",Length =100,IsNullable = true)]
public string CurrentCode { get; set; }
/// <summary>
/// 当前重置依赖,即最后一次获取编码的日期
/// </summary>
[SugarColumn(ColumnDescription = "当前重置依赖", Length = 100, IsNullable = true)]
public string CurrentReset { get; set; }
}
}