qianhao.xu 900582f9bd Revert "13"
This reverts commit 13f58300dd99b14127758c25c4ec1555848acad8.
2024-07-18 09:05:05 +08:00

60 lines
1.3 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.base_.Dto
{
/// <summary>
/// 设备信息查询对象
/// </summary>
public class BaseDeviceQueryDto : PagerInfo
{
public int? FkWorkStation { get; set; }
public string DeviceCode { get; set; }
public string DeviceName { get; set; }
public string DeviceSpecification { get; set; }
public DateTime? PurchaseTime { get; set; }
public string DeviceSupplier { get; set; }
public int? Status { get; set; }
}
/// <summary>
/// 设备信息输入输出对象
/// </summary>
public class BaseDeviceDto
{
[Required(ErrorMessage = "主键不能为空")]
public int Id { get; set; }
public int? FkWorkStation { get; set; }
public string DeviceCode { get; set; }
public string DeviceName { get; set; }
public string DeviceSpecification { get; set; }
public DateTime? PurchaseTime { get; set; }
public string DeviceSupplier { get; set; }
public string Remark { get; set; }
public int? Status { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}