using FreeSql.DataAnnotations;
namespace CapMachine.Model
{
///
/// 程序设置
///
[Table(Name = "ProgramSeg")]
public class ProgramSeg
{
///
/// 主键
///
[Column(IsPrimary = true,IsIdentity =true)]
public long Id { get; set; }
///
/// 程序名称
/// 工况名称
///
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
public string? Name { get; set; }
///
/// 程序名称
/// 分类
///
[Column(Name = "Category", IsNullable = true, StringLength = 50)]
public string? Category { get; set; }
///
/// 程序段反复
///
[Column(Name = "ProRepeat")]
public int ProRepeat { get; set; }
///
/// 编辑者
///
[Column(Name = "UserName", IsNullable = false, StringLength = 20)]
public string? UserName { get; set; }
///
/// 备注
///
[Column(Name = "Remark", IsNullable = false, StringLength = 100)]
public string? Remark { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
///
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
///
public List? ProSteps { get; set; }
}
}