添加项目文件。
This commit is contained in:
54
GroupLine.Model/MagTorque.cs
Normal file
54
GroupLine.Model/MagTorque.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
|
||||
namespace GroupLine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 磁束扭矩检
|
||||
/// </summary>
|
||||
[Table(Name = "dbo.MagTorque")]
|
||||
[Index("IX_CreateTime", "CreateTime", false)]
|
||||
[Index("IX_CylinderNo", "CylinderNo", false)]
|
||||
public class MagTorque
|
||||
{
|
||||
/// <summary>
|
||||
/// Id
|
||||
/// </summary>
|
||||
[Column(IsIdentity = true, IsPrimary = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 筒体编号
|
||||
/// </summary>
|
||||
[Column(DbType = "nvarchar(16)")]
|
||||
public string CylinderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机种类型
|
||||
/// </summary>
|
||||
[Column(DbType = "nvarchar(5)")]
|
||||
public string ModelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 磁束值
|
||||
/// </summary>
|
||||
[Column(DbType = "decimal(8, 2)")]
|
||||
public decimal MagValue { get; set; }
|
||||
/// <summary>
|
||||
/// 扭矩值
|
||||
/// </summary>
|
||||
[Column(DbType = "decimal(8, 2)")]
|
||||
public decimal TorqueValue { get; set; }
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
[Column(DbType = "nvarchar(2)")]
|
||||
public string Result { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(DbType = "datetime DEFAULT(GETDATE())")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user