using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
///
/// 物料列表基础输入参数
///
public class MaterialListBaseInput
{
///
/// 物料ID
///
public virtual long? MaterialsId { get; set; }
///
/// 单位
///
public virtual string? Unit { get; set; }
///
/// 数量
///
public virtual int? Count { get; set; }
///
/// 来源ID
///
public virtual long? SourceId { get; set; }
///
/// 备注
///
public virtual string? Remarks { get; set; }
}
///
/// 物料列表分页查询输入参数
///
public class MaterialListInput : BasePageInput
{
///
/// 关键字查询
///
public string? SearchKey { get; set; }
///
/// 物料ID
///
public long? MaterialsId { get; set; }
///
/// 单位
///
public string? Unit { get; set; }
///
/// 数量
///
public int? Count { get; set; }
///
/// 来源ID
///
public long? SourceId { get; set; }
///
/// 备注
///
public string? Remarks { get; set; }
}
///
/// 物料列表增加输入参数
///
public class AddMaterialListInput : MaterialListBaseInput
{
}
///
/// 物料列表删除输入参数
///
public class DeleteMaterialListInput : BaseIdInput
{
}
///
/// 物料列表更新输入参数
///
public class UpdateMaterialListInput : MaterialListBaseInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 物料列表主键查询输入参数
///
public class QueryByIdMaterialListInput : DeleteMaterialListInput
{
}