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