添加项目文件。
This commit is contained in:
68
CapMachine.Model/ProStep.cs
Normal file
68
CapMachine.Model/ProStep.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.Metrics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 步骤
|
||||
/// </summary>
|
||||
[Table(Name = "ProStep")]
|
||||
public class ProStep
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序步骤序号
|
||||
/// </summary>
|
||||
[Column(Name = "StepNo")]
|
||||
public int StepNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序步骤反复次数
|
||||
/// </summary>
|
||||
[Column(Name = "StepRepeat")]
|
||||
public int StepRepeat { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 程序段反复
|
||||
///// </summary>
|
||||
//[Column(Name = "ProRepeat")]
|
||||
//public int ProRepeat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Column(Name = "Remark", IsNullable = false, StringLength = 200)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public ICollection<MeterSpeed>? MeterSpeeds { get; set; }
|
||||
public ICollection<MeterPd>? MeterPds { get; set; }
|
||||
public ICollection<MeterPs>? MeterPss { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public long ProgramSegId { get; set; }
|
||||
public ProgramSeg? ProgramSeg { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user