using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
///
/// 打印条码详情基础输入参数
///
public class PrintCodeDetailBaseInput
{
///
/// 条码
///
public virtual string? Code { get; set; }
///
/// 上级码
///
public virtual string? FatherCode { get; set; }
///
/// 条码类型
///
public virtual string? CodeName { get; set; }
///
/// 数量
///
public virtual int? Count { get; set; }
///
/// 单位
///
public virtual string? Unit { get; set; }
///
/// 基本数量
///
public virtual int? BaseCount { get; set; }
///
/// 基本单位
///
public virtual string? BaseUnit { get; set; }
///
/// 子码数
///
public virtual int? ChildCount { get; set; }
///
/// 打印单ID
///
public virtual long? TempListId { get; set; }
///
/// 汇报单ID
///
public virtual long? ReportTableId { get; set; }
///
/// 父节点ID
///
public virtual long? FatherId { get; set; }
///
/// 仓库ID
///
public virtual long? WarehouseID { get; set; }
///
/// 打码时间
///
public virtual DateTime? PrintCodeTime { get; set; }
///
/// 扫码时间
///
public virtual DateTime? ScanCodeTime { get; set; }
///
/// 备注
///
public virtual string? Remarks { 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 PrintCodeDetailInput : BasePageInput
{
///
/// 关键字查询
///
public string? SearchKey { get; set; }
///
/// 条码
///
public string? Code { get; set; }
///
/// 上级码
///
public string? FatherCode { get; set; }
///
/// 条码类型
///
public string? CodeName { get; set; }
///
/// 数量
///
public int? Count { get; set; }
///
/// 单位
///
public string? Unit { get; set; }
///
/// 基本数量
///
public int? BaseCount { get; set; }
///
/// 基本单位
///
public string? BaseUnit { get; set; }
///
/// 子码数
///
public int? ChildCount { get; set; }
///
/// 打印单ID
///
public long? TempListId { get; set; }
///
/// 汇报单ID
///
public long? ReportTableId { get; set; }
///
/// 父节点ID
///
public long? FatherId { get; set; }
///
/// 打码时间
///
public DateTime? PrintCodeTime { get; set; }
///
/// 打码时间范围
///
public List PrintCodeTimeRange { get; set; }
///
/// 扫码时间
///
public DateTime? ScanCodeTime { get; set; }
///
/// 扫码时间范围
///
public List ScanCodeTimeRange { get; set; }
///
/// 备注
///
public string? Remarks { get; set; }
}
///
/// 打印条码详情增加输入参数
///
public class AddPrintCodeDetailInput : PrintCodeDetailBaseInput
{
///
/// 软删除
///
[Required(ErrorMessage = "软删除不能为空")]
public override bool IsDelete { get; set; }
}
///
/// 打印条码详情删除输入参数
///
public class DeletePrintCodeDetailInput : BaseIdInput
{
}
///
/// 打印条码详情更新输入参数
///
public class UpdatePrintCodeDetailInput : PrintCodeDetailBaseInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 打印条码详情主键查询输入参数
///
public class QueryByIdPrintCodeDetailInput : DeletePrintCodeDetailInput
{
}