48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
|
|
namespace GroupLine.Model
|
|
{
|
|
/// <summary>
|
|
/// K/P型磁束扭矩检测工位
|
|
/// </summary>
|
|
[Table(Name = "dbo.KPMagTorque")]
|
|
[Index("IX_CreateTime", "CreateTime", false)]
|
|
[Index("IX_CylinderNo", "CylinderNo", false)]
|
|
public class KPMagTorque
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
[Column(IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 筒体编号
|
|
/// </summary>
|
|
[Column(DbType = "nvarchar(20)")]
|
|
public string CylinderNo { get; set; }
|
|
/// <summary>
|
|
/// 磁束值
|
|
/// </summary>
|
|
[Column(DbType = "decimal(8, 2)")]
|
|
public decimal MagBeamCount { get; set; }
|
|
/// <summary>
|
|
/// 扭矩值
|
|
/// </summary>
|
|
[Column(DbType = "decimal(8, 2)")]
|
|
public decimal TorqueValue { get; set; }
|
|
/// <summary>
|
|
/// 结果
|
|
/// </summary>
|
|
[Column(DbType = "nvarchar(5)")]
|
|
public string Result { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime DEFAULT(GETDATE())")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
}
|
|
}
|