using System.ComponentModel;
using IDIS.Model;
using Newtonsoft.Json;
namespace IDIS.YL106.Model
{
///
/// 实体,用于描述例如机器人、传送带等设备的信息
///
public record Object_Equipment : IDIS_Model
{
///
/// 编号
///
[DisplayName("编号")]
[JsonProperty("number")]
public string Number { get; set; } = string.Empty;
///
/// 名称
///
[DisplayName("名称")]
[JsonProperty("name")]
public string Name { get; set; } = string.Empty;
///
/// 型号
///
[DisplayName("型号")]
[JsonProperty("model")]
public string Model { get; set; } = string.Empty;
///
/// 类型
///
[DisplayName("类型")]
[JsonProperty("type")]
public string Type { get; set; } = string.Empty;
///
/// 描述,用于介绍该设备的用途
///
[DisplayName("描述")]
[JsonProperty("description")]
public string Description { get; set; } = string.Empty;
///
/// 设备来源
///
[DisplayName("来源")]
[JsonProperty("source")]
public string Trace { get; set; } = string.Empty;
///
/// 生产厂家
///
[DisplayName("生产厂家")]
[JsonProperty("manufacturer")]
public string Manufacturer { get; set; } = string.Empty;
///
/// 生产日期
///
[DisplayName("生产日期")]
[JsonProperty("manufacture_date")]
public DateTime ManufactureDate { get; set; } =DateTime.MinValue;
}
}