DigitalFactory/Admin.NET/Admin.NET.Application/Service/OutboundDetail/Dto/OutboundDetailInput.cs

79 lines
1.8 KiB
C#
Raw Normal View History

2024-06-14 10:08:48 +00:00
using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
/// <summary>
/// 出库详细基础输入参数
/// </summary>
public class OutboundDetailBaseInput
{
/// <summary>
/// 出库单ID
/// </summary>
public virtual long? OutboundId { get; set; }
/// <summary>
/// 条码ID列表
/// </summary>
public virtual string? CodeTableIds { get; set; }
}
/// <summary>
/// 出库详细分页查询输入参数
/// </summary>
public class OutboundDetailInput : BasePageInput
{
/// <summary>
/// 关键字查询
/// </summary>
public string? SearchKey { get; set; }
/// <summary>
/// 出库单ID
/// </summary>
public long? OutboundId { get; set; }
/// <summary>
/// 条码ID列表
/// </summary>
public string? CodeTableIds { get; set; }
}
/// <summary>
/// 出库详细增加输入参数
/// </summary>
public class AddOutboundDetailInput : OutboundDetailBaseInput
{
}
/// <summary>
/// 出库详细删除输入参数
/// </summary>
public class DeleteOutboundDetailInput : BaseIdInput
{
}
/// <summary>
/// 出库详细更新输入参数
/// </summary>
public class UpdateOutboundDetailInput : OutboundDetailBaseInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 出库详细主键查询输入参数
/// </summary>
public class QueryByIdOutboundDetailInput : DeleteOutboundDetailInput
{
}