EntityColumnInfo.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SqlSugar
  8. {
  9. public class EntityColumnInfo
  10. {
  11. public PropertyInfo PropertyInfo { get; set; }
  12. public string PropertyName { get; set; }
  13. public string DbColumnName { get; set; }
  14. public string OldDbColumnName { get; set; }
  15. public int Length { get; set; }
  16. public string ColumnDescription { get; set; }
  17. public string DefaultValue { get; set; }
  18. public bool IsNullable { get; set; }
  19. public bool IsIdentity { get; set; }
  20. public bool IsPrimarykey { get; set; }
  21. public bool IsTreeKey { get; set; }
  22. public bool IsEnableUpdateVersionValidation { get; set; }
  23. public object SqlParameterDbType { get; set; }
  24. public string EntityName { get; set; }
  25. public string DbTableName { get; set; }
  26. public bool IsIgnore { get; set; }
  27. public string DataType { get; set; }
  28. public int DecimalDigits { get; set; }
  29. public string OracleSequenceName { get; set; }
  30. public bool IsOnlyIgnoreInsert { get; set; }
  31. public bool IsOnlyIgnoreUpdate { get; set; }
  32. public bool IsTranscoding { get; set; }
  33. public string SerializeDateTimeFormat { get; set; }
  34. public bool IsJson { get; set; }
  35. public bool NoSerialize { get; set; }
  36. public string[] IndexGroupNameList { get; set; }
  37. public string[] UIndexGroupNameList { get; set; }
  38. public bool IsArray { get; set; }
  39. public Type UnderType { get; set; }
  40. public Navigate Navigat { get; set; }
  41. public int CreateTableFieldSort { get; set; }
  42. public object SqlParameterSize { get; set; }
  43. public string InsertSql { get; set; }
  44. public bool InsertServerTime { get; set; }
  45. public bool UpdateServerTime { get; set; }
  46. public string UpdateSql { get; set; }
  47. public object ExtendedAttribute { get; set; }
  48. public bool IsDisabledAlterColumn { get; set; }
  49. public string QuerySql { get; set; }
  50. public bool IsOwnsOne { get; set; }
  51. public PropertyInfo ForOwnsOnePropertyInfo { get; set; }
  52. }
  53. }