33 lines
787 B
C#
33 lines
787 B
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
|
|
namespace GroupLine.Model
|
|
{
|
|
/// <summary>
|
|
/// K/P型C-D移栽
|
|
/// </summary>
|
|
[Table(Name = "dbo.KPCDTransplant")]
|
|
[Index("IX_CreateTime", "CreateTime", false)]
|
|
[Index("IX_CylinderNo", "CylinderNo", false)]
|
|
public class KPCDTransplant
|
|
{
|
|
/// <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 = "datetime DEFAULT(GETDATE())")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
}
|
|
}
|