using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
///
/// 仓库统计基础输入参数
///
public class WarehouseDetailsBaseInput
{
///
/// 名称
///
public virtual string? Name { get; set; }
///
/// 商品条码
///
public virtual string? GoodCode { get; set; }
///
/// 物料ID
///
public long? MaterialsId { get; set; }
///
/// 物料编码
///
public virtual string? MaterialsNum { get; set; }
///
/// 规格
///
public virtual string? Specifications { get; set; }
///
/// 分类
///
public virtual string? Classify { 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? PackageScale { get; set; }
///
/// 批次
///
public virtual string? Batch { get; set; }
///
/// 公司
///
public virtual string? Custom { get; set; }
///
/// 品牌
///
public virtual string? Brand { get; set; }
///
/// 条码类型
///
public virtual string? CodeType { get; set; }
///
/// 条码数量
///
public virtual int? CodeCount { get; set; }
///
/// 库位
///
public virtual string? WarehouseLocation { get; set; }
///
/// 生产日期
///
public virtual DateTime? ProductDate { get; set; }
///
/// 失效日期
///
public virtual DateTime? LoseDate { get; set; }
///
/// 单重
///
public virtual decimal? SingleWeight { get; set; }
///
/// 总重
///
public virtual decimal? TotalWeight { get; set; }
///
/// 单价
///
public virtual decimal? UnitPrice { get; set; }
///
/// 总价
///
public virtual decimal? TotalPrice { get; set; }
///
/// 备注
///
public virtual string? Remarks { get; set; }
///
/// 源ID
///
public virtual long? SourceId { get; set; }
///
/// 仓库ID
///
public virtual long? WarehouseId { get; set; }
///
/// 拓展字段
///
public virtual string? ExpandField { 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 WarehouseDetailsInput : BasePageInput
{
///
/// 关键字查询
///
public string? SearchKey { get; set; }
///
/// 名称
///
public string? Name { get; set; }
///
/// 商品条码
///
public string? GoodCode { get; set; }
///
/// 物料ID
///
public long? MaterialsId { get; set; }
///
/// 物料编码
///
public string? MaterialsNum { get; set; }
///
/// 规格
///
public string? Specifications { get; set; }
///
/// 分类
///
public string? Classify { get; set; }
///
/// 库存数量
///
public int? Count { get; set; }
///
/// 库存单位
///
public string? Unit { get; set; }
///
/// 基本数量
///
public int? BaseCount { get; set; }
///
/// 基本单位
///
public string? BaseUnit { get; set; }
///
/// 包装比例
///
public string? PackageScale { get; set; }
///
/// 批次
///
public string? Batch { get; set; }
///
/// 公司
///
public string? Custom { get; set; }
///
/// 品牌
///
public string? Brand { get; set; }
///
/// 条码类型
///
public string? CodeType { get; set; }
///
/// 条码数量
///
public int? CodeCount { get; set; }
///
/// 库位
///
public string? WarehouseLocation { get; set; }
///
/// 生产日期
///
public DateTime? ProductDate { get; set; }
///
/// 生产日期范围
///
public List ProductDateRange { get; set; }
///
/// 失效日期
///
public DateTime? LoseDate { get; set; }
///
/// 失效日期范围
///
public List LoseDateRange { get; set; }
///
/// 单重
///
public decimal? SingleWeight { get; set; }
///
/// 总重
///
public decimal? TotalWeight { get; set; }
///
/// 单价
///
public decimal? UnitPrice { get; set; }
///
/// 总价
///
public decimal? TotalPrice { get; set; }
///
/// 备注
///
public string? Remarks { get; set; }
///
/// 源ID
///
public long? SourceId { get; set; }
///
/// 仓库ID
///
public long? WarehouseId { get; set; }
///
/// 拓展字段
///
public string? ExpandField { get; set; }
}
///
/// 仓库统计增加输入参数
///
public class AddWarehouseDetailsInput : WarehouseDetailsBaseInput
{
///
/// 软删除
///
[Required(ErrorMessage = "软删除不能为空")]
public override bool IsDelete { get; set; }
}
///
/// 仓库统计删除输入参数
///
public class DeleteWarehouseDetailsInput : BaseIdInput
{
}
///
/// 仓库统计更新输入参数
///
public class UpdateWarehouseDetailsInput : WarehouseDetailsBaseInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 仓库统计主键查询输入参数
///
public class QueryByIdWarehouseDetailsInput : DeleteWarehouseDetailsInput
{
}