添加项目文件。
This commit is contained in:
58
GroupLine.Model/KPShrinkTub.cs
Normal file
58
GroupLine.Model/KPShrinkTub.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GroupLine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// K/P型缩管
|
||||
/// </summary>
|
||||
[Table(Name = "dbo.KPShrinkTub")]
|
||||
[Index("IX_CreateTime", "CreateTime", false)]
|
||||
[Index("IX_CylinderNo", "CylinderNo", false)]
|
||||
public class KPShrinkTub
|
||||
{
|
||||
/// <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 = "nvarchar(6)")]
|
||||
public string OpNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 终负荷
|
||||
/// </summary>
|
||||
[Column(DbType = "decimal(8, 1)")]
|
||||
public decimal FinalLoad { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 终位置
|
||||
/// </summary>
|
||||
[Column(DbType = "decimal(8, 3)")]
|
||||
public decimal FinalLocation { 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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user