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.

71 lines
1.6 KiB
C#

using DS.Module.Core;
namespace DS.WMS.Core.Code.Dtos;
/// <summary>
/// 基础编码返回实体
/// </summary>
public class CodeSequenceRes
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 权限ID
/// </summary>
public long PermissionId { get; set; }
/// <summary>
/// 权限实体
/// </summary>
public string PermissionEntity { get; set; }= "";
/// <summary>
/// 名称
/// </summary>
public string SequenceName { get; set; }= "";
/// <summary>
/// 分隔符
/// </summary>
public string SequenceDelimiter { get; set; }= "";
/// <summary>
/// 序号重置规则
/// </summary>
public string SequenceReset { get; set; } = "";
/// <summary>
/// 步长
/// </summary>
public int Step { get; set; } = 0;
/// <summary>
/// 当前值
/// </summary>
public int CurrentNo { get; set; }= 0;
/// <summary>
/// 当前编码
/// </summary>
public string CurrentCode { get; set; }= "";
/// <summary>
/// 当前重置依赖,即最后一次获取编码的日期
/// </summary>
public string CurrentReset { get; set; }= "";
/// <summary>
/// 状态 0 启用 1 禁用
/// </summary>
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
/// <summary>
/// 备注
/// </summary>
public string Note { get; set; } = "";
/// <summary>
/// 排序
/// </summary>
public int? OrderNo { get; set; } = 100;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
}