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