53 lines
1.4 KiB
C#
53 lines
1.4 KiB
C#
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; }
|
|
|
|
}
|
|
}
|