using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.base_.Dto
{
///
/// 设备信息查询对象
///
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; }
}
///
/// 设备信息输入输出对象
///
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; }
}
}