using System; using SqlSugar; namespace DeviceRepair.Models { /// /// /// [SugarTable("Fields")] public class FieldsInfo { /// /// /// [SugarColumn(ColumnName = "AutoID", IsPrimaryKey = true, IsIdentity = true)] public int AutoID { get; set; } /// /// /// 默认值: (newid()) /// [SugarColumn(ColumnName = "GUID")] public Guid GUID { get; set; } /// /// /// [SugarColumn(ColumnName = "FieldCode")] public string FieldCode { get; set; } /// /// /// [SugarColumn(ColumnName = "FieldText")] public string FieldText { get; set; } /// /// /// [SugarColumn(ColumnName = "FieldValue")] public string FieldValue { get; set; } /// /// /// [SugarColumn(ColumnName = "FieldType")] public string FieldType { get; set; } [SugarColumn(IsIgnore = true)] public string FieldTypeCaption { get; set; } /// /// /// 默认值: ((1)) /// [SugarColumn(ColumnName = "Status")] public bool Status { get; set; } [SugarColumn(IsIgnore = true)] public string StatusText { get; set; } /// /// /// [SugarColumn(ColumnName = "Description")] public string Description { get; set; } /// /// /// [SugarColumn(ColumnName = "CreatBy")] public int CreatBy { get; set; } [SugarColumn(IsIgnore = true)] public string CreatorName { get; set; } /// /// /// [SugarColumn(ColumnName = "CreatOn")] public DateTime CreatOn { get; set; } /// /// /// [SugarColumn(ColumnName = "ModifyBy")] public int? ModifyBy { get; set; } [SugarColumn(IsIgnore = true)] public string ModifierName { get; set; } /// /// /// [SugarColumn(ColumnName = "ModifyOn")] public DateTime? ModifyOn { get; set; } } }