58 lines
1.6 KiB
C#
58 lines
1.6 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
|
|
namespace GroupLine.Model
|
|
{
|
|
/// <summary>
|
|
/// G型转子着磁
|
|
/// </summary>
|
|
[Table(Name = "dbo.GRotorMag")]
|
|
[Index("IX_CreateTime", "CreateTime", false)]
|
|
[Index("IX_RotorNo", "RotorNo", false)]
|
|
public class GRotorMag
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
[Column(IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 转子编号
|
|
/// </summary>
|
|
[Column(DbType = "nvarchar(20)")]
|
|
public string RotorNo { get; set; }
|
|
/// <summary>
|
|
/// 员工编号
|
|
/// </summary>
|
|
[Column(DbType = "nvarchar(6)")]
|
|
public string OpNo { get; set; }
|
|
/// <summary>
|
|
/// 磁束量
|
|
/// </summary>
|
|
[Column(DbType = "decimal(8, 3)")]
|
|
public decimal MagBeamCount { get; set; }
|
|
/// <summary>
|
|
/// 电流值
|
|
/// </summary>
|
|
[Column(DbType = "decimal(8, 2)",Name = "CurrentValue")]
|
|
public decimal Current { get; set; }
|
|
/// <summary>
|
|
/// 转子角度
|
|
/// </summary>
|
|
[Column(DbType = "decimal(8, 2)")]
|
|
public decimal RotorAngle { get; set; }
|
|
/// <summary>
|
|
/// 转子角度判定
|
|
/// </summary>
|
|
[Column(DbType = "nvarchar(6)")]
|
|
public string RotorAgleRsult { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime DEFAULT(GETDATE())")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
}
|
|
}
|