using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
///
/// 商品追溯基础输入参数
///
public class ProductRetrospectBaseInput
{
///
/// 单号
///
public virtual string? OddNumber { get; set; }
///
/// 条码类型
///
public virtual string? CodeType { get; set; }
///
/// 扫码时间
///
public virtual DateTime? ScanCodeTime { get; set; }
///
/// 业务类型
///
public virtual string? BusinessType { get; set; }
///
/// 收货/供货单位
///
public virtual string? Destination { get; set; }
///
/// 所在地区
///
public virtual string? Location { get; set; }
///
/// 仓库ID
///
public virtual long? WarehouseID { get; set; }
///
/// 单据类型
///
public virtual string? Receipt { get; set; }
///
/// 部门
///
public virtual string? Department { get; set; }
///
/// 批次
///
public virtual string? Batch { 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 DateTime? WarehousingDate { get; set; }
///
/// 物料ID
///
public virtual long? MaterialsId { get; set; }
///
/// 源ID
///
public virtual long? SourceId { get; set; }
///
/// 名称
///
public virtual string? Name { get; set; }
///
/// 条码
///
public virtual string Code { get; set; }
///
/// 备注
///
public virtual string? Remarks { 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 ProductRetrospectInput : BasePageInput
{
///
/// 关键字查询
///
public string? SearchKey { get; set; }
///
/// 单号
///
public string? OddNumber { get; set; }
///
/// 条码类型
///
public string? CodeType { get; set; }
///
/// 扫码时间
///
public DateTime? ScanCodeTime { get; set; }
///
/// 扫码时间范围
///
public List ScanCodeTimeRange { get; set; }
///
/// 业务类型
///
public string? BusinessType { get; set; }
///
/// 收货/供货单位
///
public string? Destination { get; set; }
///
/// 所在地区
///
public string? Location { get; set; }
///
/// 仓库ID
///
public long? WarehouseID { get; set; }
///
/// 单据类型
///
public string? Receipt { get; set; }
///
/// 部门
///
public string? Department { get; set; }
///
/// 批次
///
public string? Batch { get; set; }
///
/// 数量
///
public int? Count { get; set; }
///
/// 单位
///
public string? Unit { get; set; }
///
/// 基本数量
///
public int? BaseCount { get; set; }
///
/// 基本单位
///
public string? BaseUnit { get; set; }
///
/// 业务日期
///
public DateTime? WarehousingDate { get; set; }
///
/// 业务日期范围
///
public List WarehousingDateRange { get; set; }
///
/// 物料ID
///
public long? MaterialsId { get; set; }
///
/// 名称
///
public virtual string? Name { get; set; }
///
/// 条码
///
public virtual string Code { get; set; }
///
/// 源ID
///
public long? SourceId { get; set; }
///
/// 备注
///
public string? Remarks { get; set; }
}
///
/// 商品追溯增加输入参数
///
public class AddProductRetrospectInput : ProductRetrospectBaseInput
{
///
/// 软删除
///
[Required(ErrorMessage = "软删除不能为空")]
public override bool IsDelete { get; set; }
}
///
/// 商品追溯删除输入参数
///
public class DeleteProductRetrospectInput : BaseIdInput
{
}
///
/// 商品追溯更新输入参数
///
public class UpdateProductRetrospectInput : ProductRetrospectBaseInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 商品追溯主键查询输入参数
///
public class QueryByIdProductRetrospectInput : DeleteProductRetrospectInput
{
}
///
///
///
public class CheckCodeStatusOutInput
{
///
/// 状态
///
public long State { get; set; }
}