using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
///
/// 分销出库基础输入参数
///
public class DistributorInvoiceBaseInput
{
///
/// 仓库ID
///
public virtual long? WarehouseId { get; set; }
///
/// 目标仓库ID
///
public virtual long? TargetWarehouseId { get; set; }
///
/// 分销商ID
///
public virtual long? DistributorId { get; set; }
///
/// 分销商
///
public virtual string? Distributor { get; set; }
///
/// 业务日期
///
public virtual DateTime? StartDate { 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 DistributorInvoiceInput : BasePageInput
{
///
/// 关键字查询
///
public string? SearchKey { get; set; }
///
/// 仓库ID
///
public long? WarehouseId { get; set; }
///
/// 目标仓库ID
///
public long? TargetWarehouseId { get; set; }
///
/// 分销商ID
///
public long? DistributorId { get; set; }
///
/// 分销商
///
public string? Distributor { get; set; }
///
/// 业务日期
///
public DateTime? StartDate { get; set; }
///
/// 业务日期范围
///
public List StartDateRange { get; set; }
///
/// 备注
///
public string? Remarks { get; set; }
}
///
/// 分销出库增加输入参数
///
public class AddDistributorInvoiceInput : DistributorInvoiceBaseInput
{
///
/// 软删除
///
[Required(ErrorMessage = "软删除不能为空")]
public override bool IsDelete { get; set; }
}
///
/// 分销出库删除输入参数
///
public class DeleteDistributorInvoiceInput : BaseIdInput
{
}
///
/// 分销出库更新输入参数
///
public class UpdateDistributorInvoiceInput : DistributorInvoiceBaseInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 分销出库主键查询输入参数
///
public class QueryByIdDistributorInvoiceInput : DeleteDistributorInvoiceInput
{
}