DigitalFactory/Admin.NET/Admin.NET.Application/Service/WarehousingStatistics/Dto/WarehousingStatisticsInput.cs

269 lines
6.7 KiB
C#

using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
/// <summary>
/// 入库统计基础输入参数
/// </summary>
public class WarehousingStatisticsBaseInput
{
/// <summary>
/// 名称
/// </summary>
public virtual string? Name { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public virtual string? CodeNum { 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 string? Brand { get; set; }
/// <summary>
/// 规格
/// </summary>
public virtual string? Specifications { get; set; }
/// <summary>
/// 入库类型
/// </summary>
public virtual string? WarehousingType { get; set; }
/// <summary>
/// 物料ID
/// </summary>
public virtual long? MaterialsId { get; set; }
/// <summary>
/// 来源ID
/// </summary>
public virtual long? SourceId { get; set; }
/// <summary>
/// 入库日期
/// </summary>
public virtual DateTime? WarehousingDate { get; set; }
/// <summary>
/// 入库仓库ID
/// </summary>
public virtual long? WarehouseId { get; set; }
/// <summary>
/// 库位
/// </summary>
public virtual string? WarehouseLocation { get; set; }
/// <summary>
/// 供应商
/// </summary>
public virtual string? Supplier { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string? Remarks { get; set; }
/// <summary>
/// 租户Id
/// </summary>
public virtual long? TenantId { 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 WarehousingStatisticsInput : BasePageInput
{
/// <summary>
/// 关键字查询
/// </summary>
public string? SearchKey { get; set; }
/// <summary>
/// 名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string? CodeNum { 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 string? Brand { get; set; }
/// <summary>
/// 规格
/// </summary>
public string? Specifications { get; set; }
/// <summary>
/// 入库类型
/// </summary>
public string? WarehousingType { get; set; }
/// <summary>
/// 物料ID
/// </summary>
public long? MaterialsId { get; set; }
/// <summary>
/// 来源ID
/// </summary>
public long? SourceId { get; set; }
/// <summary>
/// 入库日期
/// </summary>
public DateTime? WarehousingDate { get; set; }
/// <summary>
/// 入库日期范围
/// </summary>
public List<DateTime?> WarehousingDateRange { get; set; }
/// <summary>
/// 入库仓库ID
/// </summary>
public long? WarehouseId { get; set; }
/// <summary>
/// 库位
/// </summary>
public string? WarehouseLocation { get; set; }
/// <summary>
/// 供应商
/// </summary>
public string? Supplier { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remarks { get; set; }
}
/// <summary>
/// 入库统计增加输入参数
/// </summary>
public class AddWarehousingStatisticsInput : WarehousingStatisticsBaseInput
{
/// <summary>
/// 软删除
/// </summary>
[Required(ErrorMessage = "软删除不能为空")]
public override bool IsDelete { get; set; }
}
/// <summary>
/// 入库统计删除输入参数
/// </summary>
public class DeleteWarehousingStatisticsInput : BaseIdInput
{
}
/// <summary>
/// 入库统计更新输入参数
/// </summary>
public class UpdateWarehousingStatisticsInput : WarehousingStatisticsBaseInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 入库统计主键查询输入参数
/// </summary>
public class QueryByIdWarehousingStatisticsInput : DeleteWarehousingStatisticsInput
{
}