using DS.Module.Core;
using DS.Module.Core.Data;
namespace DS.WMS.Core.Sys.Entity;
///
/// 系统编码表
///
[SqlSugar.SugarTable("sys_sequence","系统编码表")]
public class SysSequence : BaseTenantModel
{
///
/// 权限ID
///
public long PermissionId { get; set; }
///
/// 权限实体
///
public string PermissionEntity { get; set; }
///
/// 名称
///
public string SequenceName { get; set; }
///
/// 分隔符
///
public string SequenceDelimiter { get; set; }
///
/// 序号重置规则
///
public string SequenceReset { get; set; }
///
/// 步长
///
public int Step { get; set; }
///
/// 当前值
///
public int CurrentNo { get; set; }
///
/// 当前编码
///
public string CurrentCode { get; set; }
///
/// 当前重置依赖,即最后一次获取编码的日期
///
public string CurrentReset { get; set; }
///
/// 状态
///
[SqlSugar.SugarColumn(ColumnDescription = "状态")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
///
/// 排序号
///
public int OrderNo { get; set; }
}