156 lines
4.7 KiB
C#
156 lines
4.7 KiB
C#
using FreeSql.DataAnnotations;
|
|
|
|
namespace CapMachine.Model
|
|
{
|
|
/// <summary>
|
|
/// 历史试验信息
|
|
/// 保存的文件信息
|
|
/// </summary>
|
|
[Table(Name = "HistoryExp")]
|
|
public class HistoryExp
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 试验名称
|
|
/// </summary>
|
|
[Column(Name = "Name", IsNullable = false, StringLength = 200)]
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否完成
|
|
/// </summary>
|
|
[Column(Name = "IsComplete")]
|
|
public bool IsComplete { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实验工况
|
|
/// </summary>
|
|
[Column(Name = "WorkCond", IsNullable = true, StringLength = 100)]
|
|
public string? WorkCond { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实验编号
|
|
/// </summary>
|
|
[Column(Name = "ExpNo", IsNullable = true, StringLength = 100)]
|
|
public string? ExpNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 试验人
|
|
/// </summary>
|
|
[Column(Name = "ExpPerson", IsNullable = true, StringLength = 20)]
|
|
public string? ExpPerson { get; set; }
|
|
|
|
/// <summary>
|
|
/// 压缩机型号
|
|
/// </summary>
|
|
[Column(Name = "CapModel", IsNullable = true, StringLength = 150)]
|
|
public string? CapModel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 压缩机编号
|
|
/// </summary>
|
|
[Column(Name = "CapNo", IsNullable = true, StringLength = 150)]
|
|
public string? CapNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 制冷剂
|
|
/// </summary>
|
|
[Column(Name = "RNo", IsNullable = true, StringLength = 100)]
|
|
public string? RfNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 生产厂家
|
|
/// </summary>
|
|
[Column(Name = "Manufactor", IsNullable = true, StringLength = 150)]
|
|
public string? Manufactor { get; set; }
|
|
|
|
/// <summary>
|
|
/// 润滑油型号
|
|
/// </summary>
|
|
[Column(Name = "LubrOilModel", IsNullable = true, StringLength = 100)]
|
|
public string? LubrOilModel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 压缩机类型
|
|
/// 电动/皮带轮
|
|
/// </summary>
|
|
[Column(Name = "CompressorType", IsNullable = true, StringLength = 50)]
|
|
public string? CapType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 压缩机重量 Kg
|
|
/// </summary>
|
|
[Column(Name = "Weight", IsNullable = true, StringLength = 100)]
|
|
public string? Weight { get; set; }
|
|
|
|
/// <summary>
|
|
/// 充油量
|
|
/// </summary>
|
|
[Column(Name = "OilCount", IsNullable = true, StringLength = 50)]
|
|
public string? OilCount { get; set; }
|
|
|
|
///// <summary>
|
|
///// 加油量
|
|
///// </summary>
|
|
//[Column(Name = "RefuelingCount", IsNullable = false, StringLength = 50)]
|
|
//public string? RefuelingCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 委托人
|
|
/// </summary>
|
|
[Column(Name = "Cnee", IsNullable = true, StringLength = 100)]
|
|
public string? Cnee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 委托公司
|
|
/// </summary>
|
|
[Column(Name = "CneeCo", IsNullable = true, StringLength = 150)]
|
|
public string? CneeCo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 委托单号
|
|
/// </summary>
|
|
[Column(Name = "CneeNo", IsNullable = true, StringLength = 150)]
|
|
public string? CneeNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 试验类型
|
|
/// </summary>
|
|
[Column(Name = "ExpType", IsNullable = true, StringLength = 100)]
|
|
public string? ExpType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 生产批号
|
|
/// </summary>
|
|
[Column(Name = "BatchNo", IsNullable = true, StringLength = 50)]
|
|
public string? BatchNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 参考标准
|
|
/// </summary>
|
|
[Column(Name = "RefStd", IsNullable = true, StringLength = 150)]
|
|
public string? RefStd { get; set; }
|
|
|
|
///// <summary>
|
|
///// 备注
|
|
///// </summary>
|
|
//[Column(Name = "Remark", IsNullable = false, StringLength = 400)]
|
|
//public string? Remark { get; set; }
|
|
|
|
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
|
/// </summary>
|
|
|
|
public List<HistoryWorkCondFile>? HistoryWorkCondFiles { get; set; }
|
|
}
|
|
}
|