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