zhuangpei-mesbackend/DOAN.Model/MES/dev/Dto/DevicePartsStorageLocationsDto.cs
2024-12-30 10:13:11 +08:00

35 lines
855 B
C#

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.dev.Dto
{
/// <summary>
/// 备品备件库位查询对象
/// </summary>
public class DevicePartsStorageLocationsQueryDto : PagerInfo
{
}
/// <summary>
/// 备品备件库位输入输出对象
/// </summary>
public class DevicePartsStorageLocationsDto
{
[Required(ErrorMessage = "库位ID不能为空")]
public int LocationId { get; set; }
[Required(ErrorMessage = "库位编码不能为空")]
public string LocationCode { get; set; }
public string Description { get; set; }
[Required(ErrorMessage = "所属仓库ID不能为空")]
public int WarehouseId { get; set; }
public DateTime? CreatedAt { get; set; }
public DateTime? UpdatedAt { get; set; }
}
}