DigitalFactory/Admin.NET/Admin.NET.Application/Service/CodePakageConfiguration/Dto/CodePakageConfigurationInpu...

204 lines
5.0 KiB
C#
Raw Normal View History

2024-03-20 02:37:36 +00:00
using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
/// <summary>
/// 码包配置基础输入参数
/// </summary>
public class CodePakageConfigurationBaseInput
{
/// <summary>
/// 序号
/// </summary>
public virtual int? Index { get; set; }
/// <summary>
/// 码包配置名称
/// </summary>
public virtual string? Name { get; set; }
/// <summary>
/// 条码类型
/// </summary>
public virtual string? CodeType { get; set; }
/// <summary>
/// 条码类型ID
/// </summary>
public virtual long? CodeTypeId { get; set; }
/// <summary>
/// 导出格式
/// </summary>
2024-05-24 10:22:01 +00:00
public virtual string? ExportFormat { get; set; }
2024-03-20 02:37:36 +00:00
/// <summary>
/// 条码前缀
/// </summary>
public virtual string? CodePrefix { get; set; }
/// <summary>
/// 内码前缀
/// </summary>
public virtual string? InternalCodePrefix { get; set; }
/// <summary>
/// 导出格式示例
/// </summary>
public virtual string? ExportFormatExample { get; set; }
2024-05-24 10:22:01 +00:00
/// <summary>
/// 条码长度
/// </summary>
public virtual int CodeLength { get; set; }
/// <summary>
/// 后缀类型
/// </summary>
public virtual string? SuffixType { get; set; }
/// <summary>
/// 租户Id
/// </summary>
public virtual long? TenantId { get; set; }
2024-03-20 02:37:36 +00:00
/// <summary>
/// 创建时间
/// </summary>
public virtual DateTime? CreateTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public virtual DateTime? UpdateTime { get; set; }
/// <summary>
/// 创建者Id
/// </summary>
public virtual long? CreateUserId { get; set; }
/// <summary>
/// 创建者姓名
/// </summary>
public virtual string? CreateUserName { get; set; }
/// <summary>
/// 修改者Id
/// </summary>
public virtual long? UpdateUserId { get; set; }
/// <summary>
/// 修改者姓名
/// </summary>
public virtual string? UpdateUserName { get; set; }
/// <summary>
/// 软删除
/// </summary>
public virtual bool IsDelete { get; set; }
}
/// <summary>
/// 码包配置分页查询输入参数
/// </summary>
public class CodePakageConfigurationInput : BasePageInput
{
/// <summary>
/// 关键字查询
/// </summary>
public string? SearchKey { get; set; }
/// <summary>
/// 序号
/// </summary>
public int? Index { get; set; }
/// <summary>
/// 码包配置名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 条码类型
/// </summary>
public string? CodeType { get; set; }
/// <summary>
/// 条码类型ID
/// </summary>
public long? CodeTypeId { get; set; }
/// <summary>
/// 导出格式
/// </summary>
2024-05-24 10:22:01 +00:00
public string? ExportFormat { get; set; }
2024-03-20 02:37:36 +00:00
/// <summary>
/// 条码前缀
/// </summary>
public string? CodePrefix { get; set; }
/// <summary>
/// 内码前缀
/// </summary>
public string? InternalCodePrefix { get; set; }
/// <summary>
/// 导出格式示例
/// </summary>
public string? ExportFormatExample { get; set; }
2024-05-24 10:22:01 +00:00
/// <summary>
/// 条码长度
/// </summary>
public virtual int CodeLength { get; set; }
/// <summary>
/// 后缀类型
/// </summary>
public virtual string? SuffixType { get; set; }
}
2024-03-20 02:37:36 +00:00
/// <summary>
/// 码包配置增加输入参数
/// </summary>
public class AddCodePakageConfigurationInput : CodePakageConfigurationBaseInput
{
/// <summary>
/// 软删除
/// </summary>
[Required(ErrorMessage = "软删除不能为空")]
public override bool IsDelete { get; set; }
}
/// <summary>
/// 码包配置删除输入参数
/// </summary>
public class DeleteCodePakageConfigurationInput : BaseIdInput
{
}
/// <summary>
/// 码包配置更新输入参数
/// </summary>
public class UpdateCodePakageConfigurationInput : CodePakageConfigurationBaseInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 码包配置主键查询输入参数
/// </summary>
public class QueryByIdCodePakageConfigurationInput : DeleteCodePakageConfigurationInput
{
}