添加项目文件。
This commit is contained in:
52
CapMachine.Model/ProgramSeg.cs
Normal file
52
CapMachine.Model/ProgramSeg.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
[Table(Name = "ProgramSeg")]
|
||||
public class ProgramSeg
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true,IsIdentity =true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序名称
|
||||
/// 工况名称
|
||||
/// </summary>
|
||||
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序段反复
|
||||
/// </summary>
|
||||
[Column(Name = "ProRepeat")]
|
||||
public int ProRepeat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编辑者
|
||||
/// </summary>
|
||||
[Column(Name = "UserName", IsNullable = false, StringLength = 20)]
|
||||
public string UserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Column(Name = "Remark", IsNullable = false, StringLength = 100)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public ICollection<ProStep>? ProSteps { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user