提交了仪表的模型
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user