添加项目文件。
This commit is contained in:
76
MoviconWebApi/Entities/ComponentsInfo.cs
Normal file
76
MoviconWebApi/Entities/ComponentsInfo.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MoviconWebApi.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 不论多部件还是单部件均采用数组,若为单部件则数组中仅有一个对象
|
||||
/// </summary>
|
||||
[Table(Name = "ComponentsInfo")]
|
||||
public class ComponentsInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键ID
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车型
|
||||
/// </summary>
|
||||
[JsonProperty("part_Vehicle_model")]
|
||||
[Column(Name = "part_Vehicle_model", StringLength = 100, IsNullable = true)]
|
||||
public string? part_Vehicle_model { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车号
|
||||
/// </summary>
|
||||
[JsonProperty("part_locomotive_number")]
|
||||
[Column(Name = "part_locomotive_number", StringLength = 100, IsNullable = true)]
|
||||
public string? part_locomotive_number { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修程
|
||||
/// </summary>
|
||||
[JsonProperty("part_repair_process")]
|
||||
[Column(Name = "part_repair_process", StringLength = 100, IsNullable = true)]
|
||||
public string? part_repair_process { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位别
|
||||
/// </summary>
|
||||
[JsonProperty("part_position")]
|
||||
[Column(Name = "part_position", StringLength = 100, IsNullable = true)]
|
||||
public string? part_position { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部件名称
|
||||
/// </summary>
|
||||
[JsonProperty("part_name")]
|
||||
[Column(Name = "part_name", StringLength = 100, IsNullable = true)]
|
||||
public string? part_name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部件编号
|
||||
/// </summary>
|
||||
[JsonProperty("part_num")]
|
||||
[Column(Name = "part_num", StringLength = 100, IsNullable = true)]
|
||||
public string? part_num { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 二维码id
|
||||
/// </summary>
|
||||
[JsonProperty("part_qrid")]
|
||||
[Column(Name = "part_qrid", StringLength = 100, IsNullable = true)]
|
||||
public string? part_qrid { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public long DataReocrdId { get; set; }
|
||||
public DataReocrd? DataReocrd { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user