Files
kunshan-bzfm-mes-backend/DOAN.Model/MES/Base/Dto/BaseDeviceDto.cs
qianhao.xu f4f612a39e Qc 之前
2024-12-17 18:31:31 +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; }
}
}