提交了仪表的模型

This commit is contained in:
2024-07-28 22:59:11 +08:00
parent c9f4e88e04
commit a76546ebe6
59 changed files with 3273 additions and 586 deletions

View File

@@ -4,6 +4,9 @@ using System.Collections.Generic;
namespace CapMachine.Model
{
/// <summary>
/// 程序设置
/// </summary>
[Table(Name = "ProgramSeg")]
public class ProgramSeg
{
@@ -18,7 +21,7 @@ namespace CapMachine.Model
/// 工况名称
/// </summary>
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
public string Name { get; set; }
public string? Name { get; set; }
/// <summary>
/// 程序段反复
@@ -30,13 +33,13 @@ namespace CapMachine.Model
/// 编辑者
/// </summary>
[Column(Name = "UserName", IsNullable = false, StringLength = 20)]
public string UserName { get; set; }
public string? UserName { get; set; }
/// <summary>
/// 备注
/// </summary>
[Column(Name = "Remark", IsNullable = false, StringLength = 100)]
public string Remark { get; set; }
public string? Remark { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }