69 lines
1.9 KiB
C#
69 lines
1.9 KiB
C#
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; }
|
|
}
|
|
}
|