61 lines
1.6 KiB
C#
61 lines
1.6 KiB
C#
using FreeSql.DataAnnotations;
|
|
|
|
namespace CapMachine.Model
|
|
{
|
|
/// <summary>
|
|
/// 程序设置
|
|
/// </summary>
|
|
[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 = "Category", IsNullable = true, StringLength = 50)]
|
|
public string? Category { 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 List<ProStep>? ProSteps { get; set; }
|
|
|
|
}
|
|
}
|