2024-12-03 14:35:59 +08:00
|
|
|
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
|
|
|
|
|
{
|
2024-12-17 18:31:31 +08:00
|
|
|
// [Required(ErrorMessage = "主键不能为空")]
|
2024-12-03 14:35:59 +08:00
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|