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