using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; namespace UFIDA.U8.Framework.Api.Common.Entity { /// /// 系统U8字段信息表 /// [SugarTable("SysU8FieldDefine", "系统U8字段信息表")] [SugarIndex("index_{table}_I", nameof(Id), OrderByType.Asc)] public class SysU8FieldDefine { [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键", ColumnName = "Id", IsNullable = false)] public int Id { get; set; } [SugarColumn(ColumnName = "FieldName", Length = 200, IsNullable = false)] public string FieldName { get; set; } [SugarColumn(ColumnName = "FieldDesc", Length = 200, IsNullable = true)] public string FieldDesc { get; set; } [SugarColumn(ColumnName = "ModelName", Length = 200, IsNullable = true)] public string ModelName { get; set; } [SugarColumn(ColumnName = "ModelDesc", Length = 200, IsNullable = true)] public string ModelDesc { get; set; } [SugarColumn(ColumnName = "bDefault", IsNullable = true)] public bool? bDefault { get; set; } [SugarColumn(ColumnName = "DefaultValue", Length = 200, IsNullable = true)] public string DefaultValue { get; set; } [SugarColumn(ColumnName = "CardNumber", Length = 200, IsNullable = false)] public string CardNumber { get; set; } [SugarColumn(ColumnName = "cPosition", Length = 200, IsNullable = true)] public string cPosition { get; set; } [SugarColumn(ColumnName = "bArchives", IsNullable = true)] public bool? bArchives { get; set; } [SugarColumn(ColumnName = "bCalc", IsNullable = true)] public bool? bCalc { get; set; } //[SugarColumn(ColumnName = "bCalc", IsNullable = true)] //public bool? bToBody { get; set; } [SugarColumn(ColumnName = "ArchivesTable", Length = 200, IsNullable = true)] public string ArchivesTable { get; set; } [SugarColumn(ColumnName = "ArchivesField", Length = 200, IsNullable = true)] public string ArchivesField { get; set; } [SugarColumn(ColumnName = "ArchivesSource", Length = 200, IsNullable = true)] public string ArchivesSource { get; set; } [SugarColumn(ColumnName = "CalcFormula", Length = 1000, IsNullable = true)] public string CalcFormula { get; set; } [SugarColumn(ColumnName = "cPrecision", IsNullable = true)] public int? cPrecision { get; set; } [SugarColumn(ColumnName = "bPrice", IsNullable = true)] public bool? bPrice { get; set; } [SugarColumn(ColumnName = "bDate", IsNullable = true)] public bool? bDate { get; set; } [SugarColumn(ColumnName = "iSort", IsNullable = true)] public int? iSort { get; set; } [SugarColumn(ColumnName = "bEnable", IsNullable = true)] public bool? bEnable { get; set; } } }