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