You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3575 lines
465 KiB

  1. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_grp_article\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[]}")]
  2. public class tb_grp_article : EntityBase
  3. {
  4. public const string TABLENAME = "GroupBuy.tb_grp_article";
  5. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  6. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_grp_article.CN_CREATE_DATE); } }
  7. public const string CN_CREATE_DATE = "create_date";
  8. public const string DT_CREATE_DATE = "datetime";
  9. private DateTime? _create_date;
  10. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  11. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_grp_article.CN_CREATE_USER_UID); } }
  12. public const string CN_CREATE_USER_UID = "create_user_uid";
  13. public const string DT_CREATE_USER_UID = "varchar(36)";
  14. private String _create_user_uid;
  15. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"fb_article_id\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  16. public String fb_article_id { get { return _fb_article_id;} set { _fb_article_id = value; SetDirty(tb_grp_article.CN_FB_ARTICLE_ID); } }
  17. public const string CN_FB_ARTICLE_ID = "fb_article_id";
  18. public const string DT_FB_ARTICLE_ID = "varchar(36)";
  19. private String _fb_article_id;
  20. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"group_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  21. public String group_uid { get { return _group_uid;} set { _group_uid = value; SetDirty(tb_grp_article.CN_GROUP_UID); } }
  22. public const string CN_GROUP_UID = "group_uid";
  23. public const string DT_GROUP_UID = "varchar(36)";
  24. private String _group_uid;
  25. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"message\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  26. public String message { get { return _message;} set { _message = value; SetDirty(tb_grp_article.CN_MESSAGE); } }
  27. public const string CN_MESSAGE = "message";
  28. public const string DT_MESSAGE = "nvarchar(-1)";
  29. private String _message;
  30. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  31. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_grp_article.CN_STATUS_FLAG); } }
  32. public const string CN_STATUS_FLAG = "status_flag";
  33. public const string DT_STATUS_FLAG = "int";
  34. private int? _status_flag;
  35. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  36. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_grp_article.CN_UID); } }
  37. public const string CN_UID = "uid";
  38. public const string DT_UID = "varchar(36)";
  39. private String _uid;
  40. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  41. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_grp_article.CN_UPDATE_DATE); } }
  42. public const string CN_UPDATE_DATE = "update_date";
  43. public const string DT_UPDATE_DATE = "datetime";
  44. private DateTime? _update_date;
  45. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  46. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_grp_article.CN_UPDATE_USER_UID); } }
  47. public const string CN_UPDATE_USER_UID = "update_user_uid";
  48. public const string DT_UPDATE_USER_UID = "varchar(36)";
  49. private String _update_user_uid;
  50. public tb_grp_article() : base()
  51. {
  52. }
  53. }
  54. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_grp_article_media\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[]}")]
  55. public class tb_grp_article_media : EntityBase
  56. {
  57. public const string TABLENAME = "GroupBuy.tb_grp_article_media";
  58. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_media\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"article_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  59. public String article_uid { get { return _article_uid;} set { _article_uid = value; SetDirty(tb_grp_article_media.CN_ARTICLE_UID); } }
  60. public const string CN_ARTICLE_UID = "article_uid";
  61. public const string DT_ARTICLE_UID = "varchar(36)";
  62. private String _article_uid;
  63. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_media\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"media_id\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nchar\",\"CHARACTER_MAXIMUM_LENGTH\":10,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":10,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"nchar(10)\",\"DescriptionExtension\":null}")]
  64. public String media_id { get { return _media_id;} set { _media_id = value; SetDirty(tb_grp_article_media.CN_MEDIA_ID); } }
  65. public const string CN_MEDIA_ID = "media_id";
  66. public const string DT_MEDIA_ID = "nchar(10)";
  67. private String _media_id;
  68. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_media\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"臉書撈回(0)或系統上傳(1)\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  69. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_grp_article_media.CN_STATUS_FLAG); } }
  70. public const string CN_STATUS_FLAG = "status_flag";
  71. public const string DT_STATUS_FLAG = "int";
  72. private int? _status_flag;
  73. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_media\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":10,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"存影片或照片\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":10,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(10)\",\"DescriptionExtension\":null}")]
  74. public String type { get { return _type;} set { _type = value; SetDirty(tb_grp_article_media.CN_TYPE); } }
  75. public const string CN_TYPE = "type";
  76. public const string DT_TYPE = "varchar(10)";
  77. private String _type;
  78. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_media\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  79. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_grp_article_media.CN_UID); } }
  80. public const string CN_UID = "uid";
  81. public const string DT_UID = "varchar(36)";
  82. private String _uid;
  83. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_media\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uri\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":500,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":500,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"varchar(500)\",\"DescriptionExtension\":null}")]
  84. public String uri { get { return _uri;} set { _uri = value; SetDirty(tb_grp_article_media.CN_URI); } }
  85. public const string CN_URI = "uri";
  86. public const string DT_URI = "varchar(500)";
  87. private String _uri;
  88. public tb_grp_article_media() : base()
  89. {
  90. }
  91. }
  92. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_grp_article_schedule\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[]}")]
  93. public class tb_grp_article_schedule : EntityBase
  94. {
  95. public const string TABLENAME = "GroupBuy.tb_grp_article_schedule";
  96. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"article_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  97. public String article_uid { get { return _article_uid;} set { _article_uid = value; SetDirty(tb_grp_article_schedule.CN_ARTICLE_UID); } }
  98. public const string CN_ARTICLE_UID = "article_uid";
  99. public const string DT_ARTICLE_UID = "varchar(36)";
  100. private String _article_uid;
  101. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  102. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_grp_article_schedule.CN_CREATE_DATE); } }
  103. public const string CN_CREATE_DATE = "create_date";
  104. public const string DT_CREATE_DATE = "datetime";
  105. private DateTime? _create_date;
  106. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  107. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_grp_article_schedule.CN_CREATE_USER_UID); } }
  108. public const string CN_CREATE_USER_UID = "create_user_uid";
  109. public const string DT_CREATE_USER_UID = "varchar(36)";
  110. private String _create_user_uid;
  111. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"release_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  112. public DateTime? release_date { get { return _release_date;} set { _release_date = value; SetDirty(tb_grp_article_schedule.CN_RELEASE_DATE); } }
  113. public const string CN_RELEASE_DATE = "release_date";
  114. public const string DT_RELEASE_DATE = "datetime";
  115. private DateTime? _release_date;
  116. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  117. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_grp_article_schedule.CN_STATUS_FLAG); } }
  118. public const string CN_STATUS_FLAG = "status_flag";
  119. public const string DT_STATUS_FLAG = "int";
  120. private int? _status_flag;
  121. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  122. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_grp_article_schedule.CN_UID); } }
  123. public const string CN_UID = "uid";
  124. public const string DT_UID = "varchar(36)";
  125. private String _uid;
  126. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  127. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_grp_article_schedule.CN_UPDATE_DATE); } }
  128. public const string CN_UPDATE_DATE = "update_date";
  129. public const string DT_UPDATE_DATE = "datetime";
  130. private DateTime? _update_date;
  131. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_article_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  132. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_grp_article_schedule.CN_UPDATE_USER_UID); } }
  133. public const string CN_UPDATE_USER_UID = "update_user_uid";
  134. public const string DT_UPDATE_USER_UID = "varchar(36)";
  135. private String _update_user_uid;
  136. public tb_grp_article_schedule() : base()
  137. {
  138. }
  139. }
  140. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_grp_branch\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[]}")]
  141. public class tb_grp_branch : EntityBase
  142. {
  143. public const string TABLENAME = "GroupBuy.tb_grp_branch";
  144. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"branch_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  145. public String branch_name { get { return _branch_name;} set { _branch_name = value; SetDirty(tb_grp_branch.CN_BRANCH_NAME); } }
  146. public const string CN_BRANCH_NAME = "branch_name";
  147. public const string DT_BRANCH_NAME = "nvarchar(50)";
  148. private String _branch_name;
  149. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  150. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_grp_branch.CN_CREATE_DATE); } }
  151. public const string CN_CREATE_DATE = "create_date";
  152. public const string DT_CREATE_DATE = "datetime";
  153. private DateTime? _create_date;
  154. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  155. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_grp_branch.CN_CREATE_USER_UID); } }
  156. public const string CN_CREATE_USER_UID = "create_user_uid";
  157. public const string DT_CREATE_USER_UID = "varchar(36)";
  158. private String _create_user_uid;
  159. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"group_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  160. public String group_uid { get { return _group_uid;} set { _group_uid = value; SetDirty(tb_grp_branch.CN_GROUP_UID); } }
  161. public const string CN_GROUP_UID = "group_uid";
  162. public const string DT_GROUP_UID = "varchar(36)";
  163. private String _group_uid;
  164. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  165. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_grp_branch.CN_STATUS_FLAG); } }
  166. public const string CN_STATUS_FLAG = "status_flag";
  167. public const string DT_STATUS_FLAG = "int";
  168. private int? _status_flag;
  169. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  170. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_grp_branch.CN_UID); } }
  171. public const string CN_UID = "uid";
  172. public const string DT_UID = "varchar(36)";
  173. private String _uid;
  174. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  175. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_grp_branch.CN_UPDATE_DATE); } }
  176. public const string CN_UPDATE_DATE = "update_date";
  177. public const string DT_UPDATE_DATE = "datetime";
  178. private DateTime? _update_date;
  179. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_branch\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  180. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_grp_branch.CN_UPDATE_USER_UID); } }
  181. public const string CN_UPDATE_USER_UID = "update_user_uid";
  182. public const string DT_UPDATE_USER_UID = "varchar(36)";
  183. private String _update_user_uid;
  184. public tb_grp_branch() : base()
  185. {
  186. }
  187. }
  188. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_grp_comment\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_grp_comment_tb_meb_member\":{\"Pars\":{\"member_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_meb_member\"}},\"UniqueIndexes\":[]}")]
  189. public class tb_grp_comment : EntityBase
  190. {
  191. public const string TABLENAME = "GroupBuy.tb_grp_comment";
  192. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"member_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_meb_member\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_grp_comment_tb_meb_member\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  193. public String member_uid { get { return _member_uid;} set { _member_uid = value; SetDirty(tb_grp_comment.CN_MEMBER_UID); } }
  194. public const string CN_MEMBER_UID = "member_uid";
  195. public const string DT_MEMBER_UID = "varchar(36)";
  196. private String _member_uid;
  197. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"article_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  198. public String article_uid { get { return _article_uid;} set { _article_uid = value; SetDirty(tb_grp_comment.CN_ARTICLE_UID); } }
  199. public const string CN_ARTICLE_UID = "article_uid";
  200. public const string DT_ARTICLE_UID = "varchar(36)";
  201. private String _article_uid;
  202. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"comment\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"留言\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  203. public String comment { get { return _comment;} set { _comment = value; SetDirty(tb_grp_comment.CN_COMMENT); } }
  204. public const string CN_COMMENT = "comment";
  205. public const string DT_COMMENT = "nvarchar(-1)";
  206. private String _comment;
  207. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"comment_time\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  208. public DateTime? comment_time { get { return _comment_time;} set { _comment_time = value; SetDirty(tb_grp_comment.CN_COMMENT_TIME); } }
  209. public const string CN_COMMENT_TIME = "comment_time";
  210. public const string DT_COMMENT_TIME = "datetime";
  211. private DateTime? _comment_time;
  212. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  213. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_grp_comment.CN_CREATE_DATE); } }
  214. public const string CN_CREATE_DATE = "create_date";
  215. public const string DT_CREATE_DATE = "datetime";
  216. private DateTime? _create_date;
  217. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  218. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_grp_comment.CN_CREATE_USER_UID); } }
  219. public const string CN_CREATE_USER_UID = "create_user_uid";
  220. public const string DT_CREATE_USER_UID = "varchar(36)";
  221. private String _create_user_uid;
  222. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  223. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_grp_comment.CN_UID); } }
  224. public const string CN_UID = "uid";
  225. public const string DT_UID = "varchar(36)";
  226. private String _uid;
  227. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  228. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_grp_comment.CN_UPDATE_DATE); } }
  229. public const string CN_UPDATE_DATE = "update_date";
  230. public const string DT_UPDATE_DATE = "datetime";
  231. private DateTime? _update_date;
  232. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_comment\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  233. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_grp_comment.CN_UPDATE_USER_UID); } }
  234. public const string CN_UPDATE_USER_UID = "update_user_uid";
  235. public const string DT_UPDATE_USER_UID = "varchar(36)";
  236. private String _update_user_uid;
  237. public tb_grp_comment() : base()
  238. {
  239. }
  240. }
  241. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_grp_group\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[]}")]
  242. public class tb_grp_group : EntityBase
  243. {
  244. public const string TABLENAME = "GroupBuy.tb_grp_group";
  245. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  246. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_grp_group.CN_CREATE_DATE); } }
  247. public const string CN_CREATE_DATE = "create_date";
  248. public const string DT_CREATE_DATE = "datetime";
  249. private DateTime? _create_date;
  250. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  251. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_grp_group.CN_CREATE_USER_UID); } }
  252. public const string CN_CREATE_USER_UID = "create_user_uid";
  253. public const string DT_CREATE_USER_UID = "varchar(36)";
  254. private String _create_user_uid;
  255. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"description\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  256. public String description { get { return _description;} set { _description = value; SetDirty(tb_grp_group.CN_DESCRIPTION); } }
  257. public const string CN_DESCRIPTION = "description";
  258. public const string DT_DESCRIPTION = "nvarchar(255)";
  259. private String _description;
  260. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"fb_group_id\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":20,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":20,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(20)\",\"DescriptionExtension\":null}")]
  261. public String fb_group_id { get { return _fb_group_id;} set { _fb_group_id = value; SetDirty(tb_grp_group.CN_FB_GROUP_ID); } }
  262. public const string CN_FB_GROUP_ID = "fb_group_id";
  263. public const string DT_FB_GROUP_ID = "varchar(20)";
  264. private String _fb_group_id;
  265. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":100,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":100,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(100)\",\"DescriptionExtension\":null}")]
  266. public String name { get { return _name;} set { _name = value; SetDirty(tb_grp_group.CN_NAME); } }
  267. public const string CN_NAME = "name";
  268. public const string DT_NAME = "nvarchar(100)";
  269. private String _name;
  270. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"seq\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  271. public int? seq { get { return _seq;} set { _seq = value; SetDirty(tb_grp_group.CN_SEQ); } }
  272. public const string CN_SEQ = "seq";
  273. public const string DT_SEQ = "int";
  274. private int? _seq;
  275. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  276. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_grp_group.CN_STATUS_FLAG); } }
  277. public const string CN_STATUS_FLAG = "status_flag";
  278. public const string DT_STATUS_FLAG = "int";
  279. private int? _status_flag;
  280. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  281. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_grp_group.CN_UID); } }
  282. public const string CN_UID = "uid";
  283. public const string DT_UID = "varchar(36)";
  284. private String _uid;
  285. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  286. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_grp_group.CN_UPDATE_DATE); } }
  287. public const string CN_UPDATE_DATE = "update_date";
  288. public const string DT_UPDATE_DATE = "datetime";
  289. private DateTime? _update_date;
  290. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  291. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_grp_group.CN_UPDATE_USER_UID); } }
  292. public const string CN_UPDATE_USER_UID = "update_user_uid";
  293. public const string DT_UPDATE_USER_UID = "varchar(36)";
  294. private String _update_user_uid;
  295. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_grp_group\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"user_token\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"varchar(255)\",\"DescriptionExtension\":null}")]
  296. public String user_token { get { return _user_token;} set { _user_token = value; SetDirty(tb_grp_group.CN_USER_TOKEN); } }
  297. public const string CN_USER_TOKEN = "user_token";
  298. public const string DT_USER_TOKEN = "varchar(255)";
  299. private String _user_token;
  300. public tb_grp_group() : base()
  301. {
  302. }
  303. }
  304. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_hr_employee\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_account_create_org\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_account_update_org\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_account_create_user\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_hr_employee_tb_sys_user\":{\"Pars\":{\"uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_account_update_user\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[]}")]
  305. public class tb_hr_employee : EntityBase
  306. {
  307. public const string TABLENAME = "GroupBuy.tb_hr_employee";
  308. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_account_create_org\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  309. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_hr_employee.CN_CREATE_ORG_UID); } }
  310. public const string CN_CREATE_ORG_UID = "create_org_uid";
  311. public const string DT_CREATE_ORG_UID = "varchar(36)";
  312. private String _create_org_uid;
  313. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_account_create_user\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  314. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_hr_employee.CN_CREATE_USER_UID); } }
  315. public const string CN_CREATE_USER_UID = "create_user_uid";
  316. public const string DT_CREATE_USER_UID = "varchar(36)";
  317. private String _create_user_uid;
  318. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_hr_employee_tb_sys_user\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  319. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_hr_employee.CN_UID); } }
  320. public const string CN_UID = "uid";
  321. public const string DT_UID = "varchar(36)";
  322. private String _uid;
  323. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_account_update_org\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  324. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_hr_employee.CN_UPDATE_ORG_UID); } }
  325. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  326. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  327. private String _update_org_uid;
  328. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_account_update_user\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  329. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_hr_employee.CN_UPDATE_USER_UID); } }
  330. public const string CN_UPDATE_USER_UID = "update_user_uid";
  331. public const string DT_UPDATE_USER_UID = "varchar(36)";
  332. private String _update_user_uid;
  333. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  334. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_hr_employee.CN_CREATE_DATE); } }
  335. public const string CN_CREATE_DATE = "create_date";
  336. public const string DT_CREATE_DATE = "datetime";
  337. private DateTime? _create_date;
  338. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"email\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"varchar(255)\",\"DescriptionExtension\":null}")]
  339. public String email { get { return _email;} set { _email = value; SetDirty(tb_hr_employee.CN_EMAIL); } }
  340. public const string CN_EMAIL = "email";
  341. public const string DT_EMAIL = "varchar(255)";
  342. private String _email;
  343. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"login_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"char\",\"CHARACTER_MAXIMUM_LENGTH\":1,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"char(1)\",\"DescriptionExtension\":null}")]
  344. public String login_type { get { return _login_type;} set { _login_type = value; SetDirty(tb_hr_employee.CN_LOGIN_TYPE); } }
  345. public const string CN_LOGIN_TYPE = "login_type";
  346. public const string DT_LOGIN_TYPE = "char(1)";
  347. private String _login_type;
  348. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  349. public String name { get { return _name;} set { _name = value; SetDirty(tb_hr_employee.CN_NAME); } }
  350. public const string CN_NAME = "name";
  351. public const string DT_NAME = "nvarchar(50)";
  352. private String _name;
  353. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"personal_setting\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  354. public String personal_setting { get { return _personal_setting;} set { _personal_setting = value; SetDirty(tb_hr_employee.CN_PERSONAL_SETTING); } }
  355. public const string CN_PERSONAL_SETTING = "personal_setting";
  356. public const string DT_PERSONAL_SETTING = "nvarchar(255)";
  357. private String _personal_setting;
  358. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  359. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_hr_employee.CN_STATUS_FLAG); } }
  360. public const string CN_STATUS_FLAG = "status_flag";
  361. public const string DT_STATUS_FLAG = "int";
  362. private int? _status_flag;
  363. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  364. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_hr_employee.CN_SYSTEM_FLAG); } }
  365. public const string CN_SYSTEM_FLAG = "system_flag";
  366. public const string DT_SYSTEM_FLAG = "int";
  367. private int? _system_flag;
  368. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_hr_employee\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  369. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_hr_employee.CN_UPDATE_DATE); } }
  370. public const string CN_UPDATE_DATE = "update_date";
  371. public const string DT_UPDATE_DATE = "datetime";
  372. private DateTime? _update_date;
  373. public tb_hr_employee() : base()
  374. {
  375. }
  376. }
  377. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_meb_member\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[{\"Item1\":\"UQ_tb_meb_member_uid\",\"Item2\":[\"uid\"]}]}")]
  378. public class tb_meb_member : EntityBase
  379. {
  380. public const string TABLENAME = "GroupBuy.tb_meb_member";
  381. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  382. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_meb_member.CN_CREATE_DATE); } }
  383. public const string CN_CREATE_DATE = "create_date";
  384. public const string DT_CREATE_DATE = "datetime";
  385. private DateTime? _create_date;
  386. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  387. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_meb_member.CN_CREATE_USER_UID); } }
  388. public const string CN_CREATE_USER_UID = "create_user_uid";
  389. public const string DT_CREATE_USER_UID = "varchar(36)";
  390. private String _create_user_uid;
  391. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"email\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"信箱\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"varchar(255)\",\"DescriptionExtension\":null}")]
  392. public String email { get { return _email;} set { _email = value; SetDirty(tb_meb_member.CN_EMAIL); } }
  393. public const string CN_EMAIL = "email";
  394. public const string DT_EMAIL = "varchar(255)";
  395. private String _email;
  396. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"group_user_id\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"社團會員id 用以紀錄會員在社團中的id\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  397. public String group_user_id { get { return _group_user_id;} set { _group_user_id = value; SetDirty(tb_meb_member.CN_GROUP_USER_ID); } }
  398. public const string CN_GROUP_USER_ID = "group_user_id";
  399. public const string DT_GROUP_USER_ID = "varchar(36)";
  400. private String _group_user_id;
  401. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"message_user_id\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"訊息會員id 用以記錄傳送會員所需id\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  402. public String message_user_id { get { return _message_user_id;} set { _message_user_id = value; SetDirty(tb_meb_member.CN_MESSAGE_USER_ID); } }
  403. public const string CN_MESSAGE_USER_ID = "message_user_id";
  404. public const string DT_MESSAGE_USER_ID = "varchar(36)";
  405. private String _message_user_id;
  406. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"姓名\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  407. public String name { get { return _name;} set { _name = value; SetDirty(tb_meb_member.CN_NAME); } }
  408. public const string CN_NAME = "name";
  409. public const string DT_NAME = "nvarchar(50)";
  410. private String _name;
  411. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_meb_member_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  412. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_meb_member.CN_UID); } }
  413. public const string CN_UID = "uid";
  414. public const string DT_UID = "varchar(36)";
  415. private String _uid;
  416. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  417. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_meb_member.CN_UPDATE_DATE); } }
  418. public const string CN_UPDATE_DATE = "update_date";
  419. public const string DT_UPDATE_DATE = "datetime";
  420. private DateTime? _update_date;
  421. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_meb_member\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  422. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_meb_member.CN_UPDATE_USER_UID); } }
  423. public const string CN_UPDATE_USER_UID = "update_user_uid";
  424. public const string DT_UPDATE_USER_UID = "varchar(36)";
  425. private String _update_user_uid;
  426. public tb_meb_member() : base()
  427. {
  428. }
  429. }
  430. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_api\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_api_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_api_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_api_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_api_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_rpt_api_uid\",\"Item2\":[\"uid\"]}]}")]
  431. public class tb_rpt_api : EntityBase
  432. {
  433. public const string TABLENAME = "GroupBuy.tb_rpt_api";
  434. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_api_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  435. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_api.CN_CREATE_ORG_UID); } }
  436. public const string CN_CREATE_ORG_UID = "create_org_uid";
  437. public const string DT_CREATE_ORG_UID = "varchar(36)";
  438. private String _create_org_uid;
  439. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_api_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  440. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_api.CN_CREATE_USER_UID); } }
  441. public const string CN_CREATE_USER_UID = "create_user_uid";
  442. public const string DT_CREATE_USER_UID = "varchar(36)";
  443. private String _create_user_uid;
  444. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_api_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  445. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_api.CN_UPDATE_ORG_UID); } }
  446. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  447. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  448. private String _update_org_uid;
  449. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_api_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  450. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_api.CN_UPDATE_USER_UID); } }
  451. public const string CN_UPDATE_USER_UID = "update_user_uid";
  452. public const string DT_UPDATE_USER_UID = "varchar(36)";
  453. private String _update_user_uid;
  454. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  455. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_api.CN_CREATE_DATE); } }
  456. public const string CN_CREATE_DATE = "create_date";
  457. public const string DT_CREATE_DATE = "datetime";
  458. private DateTime? _create_date;
  459. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"group_column\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  460. public String group_column { get { return _group_column;} set { _group_column = value; SetDirty(tb_rpt_api.CN_GROUP_COLUMN); } }
  461. public const string CN_GROUP_COLUMN = "group_column";
  462. public const string DT_GROUP_COLUMN = "nvarchar(50)";
  463. private String _group_column;
  464. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  465. public String name { get { return _name;} set { _name = value; SetDirty(tb_rpt_api.CN_NAME); } }
  466. public const string CN_NAME = "name";
  467. public const string DT_NAME = "nvarchar(50)";
  468. private String _name;
  469. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  470. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_api.CN_REMARK); } }
  471. public const string CN_REMARK = "remark";
  472. public const string DT_REMARK = "nvarchar(255)";
  473. private String _remark;
  474. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  475. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_api.CN_STATUS_FLAG); } }
  476. public const string CN_STATUS_FLAG = "status_flag";
  477. public const string DT_STATUS_FLAG = "int";
  478. private int? _status_flag;
  479. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"time_column\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  480. public String time_column { get { return _time_column;} set { _time_column = value; SetDirty(tb_rpt_api.CN_TIME_COLUMN); } }
  481. public const string CN_TIME_COLUMN = "time_column";
  482. public const string DT_TIME_COLUMN = "nvarchar(50)";
  483. private String _time_column;
  484. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_rpt_api_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  485. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_api.CN_UID); } }
  486. public const string CN_UID = "uid";
  487. public const string DT_UID = "varchar(36)";
  488. private String _uid;
  489. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  490. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_api.CN_UPDATE_DATE); } }
  491. public const string CN_UPDATE_DATE = "update_date";
  492. public const string DT_UPDATE_DATE = "datetime";
  493. private DateTime? _update_date;
  494. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_api\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"view_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  495. public String view_name { get { return _view_name;} set { _view_name = value; SetDirty(tb_rpt_api.CN_VIEW_NAME); } }
  496. public const string CN_VIEW_NAME = "view_name";
  497. public const string DT_VIEW_NAME = "nvarchar(50)";
  498. private String _view_name;
  499. public tb_rpt_api() : base()
  500. {
  501. }
  502. }
  503. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_apicolumn_api_uid\":{\"Pars\":{\"api_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_api\"},\"FK_tb_rpt_apicolumn_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_apicolumn_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_apicolumn_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_apicolumn_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_rpt_apicolumn_uid\",\"Item2\":[\"uid\"]}]}")]
  504. public class tb_rpt_apicolumn : EntityBase
  505. {
  506. public const string TABLENAME = "GroupBuy.tb_rpt_apicolumn";
  507. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"api_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_api\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_apicolumn_api_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  508. public String api_uid { get { return _api_uid;} set { _api_uid = value; SetDirty(tb_rpt_apicolumn.CN_API_UID); } }
  509. public const string CN_API_UID = "api_uid";
  510. public const string DT_API_UID = "varchar(36)";
  511. private String _api_uid;
  512. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_apicolumn_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  513. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_apicolumn.CN_CREATE_ORG_UID); } }
  514. public const string CN_CREATE_ORG_UID = "create_org_uid";
  515. public const string DT_CREATE_ORG_UID = "varchar(36)";
  516. private String _create_org_uid;
  517. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_apicolumn_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  518. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_apicolumn.CN_CREATE_USER_UID); } }
  519. public const string CN_CREATE_USER_UID = "create_user_uid";
  520. public const string DT_CREATE_USER_UID = "varchar(36)";
  521. private String _create_user_uid;
  522. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_apicolumn_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  523. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_apicolumn.CN_UPDATE_ORG_UID); } }
  524. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  525. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  526. private String _update_org_uid;
  527. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_apicolumn_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  528. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_apicolumn.CN_UPDATE_USER_UID); } }
  529. public const string CN_UPDATE_USER_UID = "update_user_uid";
  530. public const string DT_UPDATE_USER_UID = "varchar(36)";
  531. private String _update_user_uid;
  532. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"column_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"nvarchar(16)\",\"DescriptionExtension\":null}")]
  533. public String column_type { get { return _column_type;} set { _column_type = value; SetDirty(tb_rpt_apicolumn.CN_COLUMN_TYPE); } }
  534. public const string CN_COLUMN_TYPE = "column_type";
  535. public const string DT_COLUMN_TYPE = "nvarchar(16)";
  536. private String _column_type;
  537. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  538. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_apicolumn.CN_CREATE_DATE); } }
  539. public const string CN_CREATE_DATE = "create_date";
  540. public const string DT_CREATE_DATE = "datetime";
  541. private DateTime? _create_date;
  542. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  543. public String name { get { return _name;} set { _name = value; SetDirty(tb_rpt_apicolumn.CN_NAME); } }
  544. public const string CN_NAME = "name";
  545. public const string DT_NAME = "nvarchar(50)";
  546. private String _name;
  547. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  548. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_apicolumn.CN_REMARK); } }
  549. public const string CN_REMARK = "remark";
  550. public const string DT_REMARK = "nvarchar(255)";
  551. private String _remark;
  552. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  553. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_apicolumn.CN_STATUS_FLAG); } }
  554. public const string CN_STATUS_FLAG = "status_flag";
  555. public const string DT_STATUS_FLAG = "int";
  556. private int? _status_flag;
  557. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"trans_default\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(16)\",\"DescriptionExtension\":null}")]
  558. public String trans_default { get { return _trans_default;} set { _trans_default = value; SetDirty(tb_rpt_apicolumn.CN_TRANS_DEFAULT); } }
  559. public const string CN_TRANS_DEFAULT = "trans_default";
  560. public const string DT_TRANS_DEFAULT = "nvarchar(16)";
  561. private String _trans_default;
  562. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_rpt_apicolumn_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  563. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_apicolumn.CN_UID); } }
  564. public const string CN_UID = "uid";
  565. public const string DT_UID = "varchar(36)";
  566. private String _uid;
  567. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_apicolumn\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  568. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_apicolumn.CN_UPDATE_DATE); } }
  569. public const string CN_UPDATE_DATE = "update_date";
  570. public const string DT_UPDATE_DATE = "datetime";
  571. private DateTime? _update_date;
  572. public tb_rpt_apicolumn() : base()
  573. {
  574. }
  575. }
  576. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_authreport\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_authreport_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_authreport_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_authreport_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_authreport_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_rpt_authreport_uid\",\"Item2\":[\"uid\"]}]}")]
  577. public class tb_rpt_authreport : EntityBase
  578. {
  579. public const string TABLENAME = "GroupBuy.tb_rpt_authreport";
  580. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  581. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_authreport.CN_CREATE_ORG_UID); } }
  582. public const string CN_CREATE_ORG_UID = "create_org_uid";
  583. public const string DT_CREATE_ORG_UID = "varchar(36)";
  584. private String _create_org_uid;
  585. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  586. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_authreport.CN_CREATE_USER_UID); } }
  587. public const string CN_CREATE_USER_UID = "create_user_uid";
  588. public const string DT_CREATE_USER_UID = "varchar(36)";
  589. private String _create_user_uid;
  590. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":16,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  591. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_authreport.CN_UPDATE_ORG_UID); } }
  592. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  593. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  594. private String _update_org_uid;
  595. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  596. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_authreport.CN_UPDATE_USER_UID); } }
  597. public const string CN_UPDATE_USER_UID = "update_user_uid";
  598. public const string DT_UPDATE_USER_UID = "varchar(36)";
  599. private String _update_user_uid;
  600. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"active_time\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"varchar(50)\",\"DescriptionExtension\":null}")]
  601. public String active_time { get { return _active_time;} set { _active_time = value; SetDirty(tb_rpt_authreport.CN_ACTIVE_TIME); } }
  602. public const string CN_ACTIVE_TIME = "active_time";
  603. public const string DT_ACTIVE_TIME = "varchar(50)";
  604. private String _active_time;
  605. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  606. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_authreport.CN_CREATE_DATE); } }
  607. public const string CN_CREATE_DATE = "create_date";
  608. public const string DT_CREATE_DATE = "datetime";
  609. private DateTime? _create_date;
  610. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"database_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  611. public String database_type { get { return _database_type;} set { _database_type = value; SetDirty(tb_rpt_authreport.CN_DATABASE_TYPE); } }
  612. public const string CN_DATABASE_TYPE = "database_type";
  613. public const string DT_DATABASE_TYPE = "varchar(16)";
  614. private String _database_type;
  615. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"department_item\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  616. public String department_item { get { return _department_item;} set { _department_item = value; SetDirty(tb_rpt_authreport.CN_DEPARTMENT_ITEM); } }
  617. public const string CN_DEPARTMENT_ITEM = "department_item";
  618. public const string DT_DEPARTMENT_ITEM = "nvarchar(255)";
  619. private String _department_item;
  620. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"group_items\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  621. public String group_items { get { return _group_items;} set { _group_items = value; SetDirty(tb_rpt_authreport.CN_GROUP_ITEMS); } }
  622. public const string CN_GROUP_ITEMS = "group_items";
  623. public const string DT_GROUP_ITEMS = "nvarchar(255)";
  624. private String _group_items;
  625. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"mail\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  626. public String mail { get { return _mail;} set { _mail = value; SetDirty(tb_rpt_authreport.CN_MAIL); } }
  627. public const string CN_MAIL = "mail";
  628. public const string DT_MAIL = "nvarchar(255)";
  629. private String _mail;
  630. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  631. public String name { get { return _name;} set { _name = value; SetDirty(tb_rpt_authreport.CN_NAME); } }
  632. public const string CN_NAME = "name";
  633. public const string DT_NAME = "nvarchar(50)";
  634. private String _name;
  635. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  636. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_authreport.CN_REMARK); } }
  637. public const string CN_REMARK = "remark";
  638. public const string DT_REMARK = "nvarchar(255)";
  639. private String _remark;
  640. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"report_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  641. public String report_type { get { return _report_type;} set { _report_type = value; SetDirty(tb_rpt_authreport.CN_REPORT_TYPE); } }
  642. public const string CN_REPORT_TYPE = "report_type";
  643. public const string DT_REPORT_TYPE = "varchar(36)";
  644. private String _report_type;
  645. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  646. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_authreport.CN_STATUS_FLAG); } }
  647. public const string CN_STATUS_FLAG = "status_flag";
  648. public const string DT_STATUS_FLAG = "int";
  649. private int? _status_flag;
  650. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_rpt_authreport_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  651. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_authreport.CN_UID); } }
  652. public const string CN_UID = "uid";
  653. public const string DT_UID = "varchar(36)";
  654. private String _uid;
  655. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  656. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_authreport.CN_UPDATE_DATE); } }
  657. public const string CN_UPDATE_DATE = "update_date";
  658. public const string DT_UPDATE_DATE = "datetime";
  659. private DateTime? _update_date;
  660. public tb_rpt_authreport() : base()
  661. {
  662. }
  663. }
  664. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_authreport_schedule_authreport_uid\":{\"Pars\":{\"authreport_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_authreport\"},\"FK_tb_rpt_authreport_schedule_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_authreport_schedule_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_authreport_schedule_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_authreport_schedule_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ_tb_rpt_authreport_schedule__DD701265E465EC31\",\"Item2\":[\"uid\"]}]}")]
  665. public class tb_rpt_authreport_schedule : EntityBase
  666. {
  667. public const string TABLENAME = "GroupBuy.tb_rpt_authreport_schedule";
  668. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"authreport_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_authreport\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_schedule_authreport_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  669. public String authreport_uid { get { return _authreport_uid;} set { _authreport_uid = value; SetDirty(tb_rpt_authreport_schedule.CN_AUTHREPORT_UID); } }
  670. public const string CN_AUTHREPORT_UID = "authreport_uid";
  671. public const string DT_AUTHREPORT_UID = "varchar(36)";
  672. private String _authreport_uid;
  673. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_schedule_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":18,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  674. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_authreport_schedule.CN_CREATE_ORG_UID); } }
  675. public const string CN_CREATE_ORG_UID = "create_org_uid";
  676. public const string DT_CREATE_ORG_UID = "varchar(36)";
  677. private String _create_org_uid;
  678. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_schedule_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":17,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  679. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_authreport_schedule.CN_CREATE_USER_UID); } }
  680. public const string CN_CREATE_USER_UID = "create_user_uid";
  681. public const string DT_CREATE_USER_UID = "varchar(36)";
  682. private String _create_user_uid;
  683. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_schedule_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":21,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  684. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_authreport_schedule.CN_UPDATE_ORG_UID); } }
  685. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  686. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  687. private String _update_org_uid;
  688. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_authreport_schedule_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":20,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  689. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_authreport_schedule.CN_UPDATE_USER_UID); } }
  690. public const string CN_UPDATE_USER_UID = "update_user_uid";
  691. public const string DT_UPDATE_USER_UID = "varchar(36)";
  692. private String _update_user_uid;
  693. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":16,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  694. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_authreport_schedule.CN_CREATE_DATE); } }
  695. public const string CN_CREATE_DATE = "create_date";
  696. public const string DT_CREATE_DATE = "datetime";
  697. private DateTime? _create_date;
  698. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"data_range_end\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  699. public DateTime? data_range_end { get { return _data_range_end;} set { _data_range_end = value; SetDirty(tb_rpt_authreport_schedule.CN_DATA_RANGE_END); } }
  700. public const string CN_DATA_RANGE_END = "data_range_end";
  701. public const string DT_DATA_RANGE_END = "datetime";
  702. private DateTime? _data_range_end;
  703. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"data_range_start\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  704. public DateTime? data_range_start { get { return _data_range_start;} set { _data_range_start = value; SetDirty(tb_rpt_authreport_schedule.CN_DATA_RANGE_START); } }
  705. public const string CN_DATA_RANGE_START = "data_range_start";
  706. public const string DT_DATA_RANGE_START = "datetime";
  707. private DateTime? _data_range_start;
  708. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"database_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  709. public String database_type { get { return _database_type;} set { _database_type = value; SetDirty(tb_rpt_authreport_schedule.CN_DATABASE_TYPE); } }
  710. public const string CN_DATABASE_TYPE = "database_type";
  711. public const string DT_DATABASE_TYPE = "varchar(16)";
  712. private String _database_type;
  713. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"department_item\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  714. public String department_item { get { return _department_item;} set { _department_item = value; SetDirty(tb_rpt_authreport_schedule.CN_DEPARTMENT_ITEM); } }
  715. public const string CN_DEPARTMENT_ITEM = "department_item";
  716. public const string DT_DEPARTMENT_ITEM = "nvarchar(255)";
  717. private String _department_item;
  718. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"expected_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  719. public DateTime? expected_date { get { return _expected_date;} set { _expected_date = value; SetDirty(tb_rpt_authreport_schedule.CN_EXPECTED_DATE); } }
  720. public const string CN_EXPECTED_DATE = "expected_date";
  721. public const string DT_EXPECTED_DATE = "datetime";
  722. private DateTime? _expected_date;
  723. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"extension_meta\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  724. public String extension_meta { get { return _extension_meta;} set { _extension_meta = value; SetDirty(tb_rpt_authreport_schedule.CN_EXTENSION_META); } }
  725. public const string CN_EXTENSION_META = "extension_meta";
  726. public const string DT_EXTENSION_META = "nvarchar(255)";
  727. private String _extension_meta;
  728. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"group_items\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  729. public String group_items { get { return _group_items;} set { _group_items = value; SetDirty(tb_rpt_authreport_schedule.CN_GROUP_ITEMS); } }
  730. public const string CN_GROUP_ITEMS = "group_items";
  731. public const string DT_GROUP_ITEMS = "nvarchar(255)";
  732. private String _group_items;
  733. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"handle_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((-1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  734. public int? handle_flag { get { return _handle_flag;} set { _handle_flag = value; SetDirty(tb_rpt_authreport_schedule.CN_HANDLE_FLAG); } }
  735. public const string CN_HANDLE_FLAG = "handle_flag";
  736. public const string DT_HANDLE_FLAG = "int";
  737. private int? _handle_flag;
  738. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"ip\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":45,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":45,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(45)\",\"DescriptionExtension\":null}")]
  739. public String ip { get { return _ip;} set { _ip = value; SetDirty(tb_rpt_authreport_schedule.CN_IP); } }
  740. public const string CN_IP = "ip";
  741. public const string DT_IP = "varchar(45)";
  742. private String _ip;
  743. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"mail\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  744. public String mail { get { return _mail;} set { _mail = value; SetDirty(tb_rpt_authreport_schedule.CN_MAIL); } }
  745. public const string CN_MAIL = "mail";
  746. public const string DT_MAIL = "nvarchar(255)";
  747. private String _mail;
  748. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"process_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  749. public DateTime? process_date { get { return _process_date;} set { _process_date = value; SetDirty(tb_rpt_authreport_schedule.CN_PROCESS_DATE); } }
  750. public const string CN_PROCESS_DATE = "process_date";
  751. public const string DT_PROCESS_DATE = "datetime";
  752. private DateTime? _process_date;
  753. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":true,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  754. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_authreport_schedule.CN_REMARK); } }
  755. public const string CN_REMARK = "remark";
  756. public const string DT_REMARK = "nvarchar(-1)";
  757. private String _remark;
  758. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"report_subtype\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":22,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  759. public String report_subtype { get { return _report_subtype;} set { _report_subtype = value; SetDirty(tb_rpt_authreport_schedule.CN_REPORT_SUBTYPE); } }
  760. public const string CN_REPORT_SUBTYPE = "report_subtype";
  761. public const string DT_REPORT_SUBTYPE = "nvarchar(50)";
  762. private String _report_subtype;
  763. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  764. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_authreport_schedule.CN_STATUS_FLAG); } }
  765. public const string CN_STATUS_FLAG = "status_flag";
  766. public const string DT_STATUS_FLAG = "int";
  767. private int? _status_flag;
  768. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_rpt_authreport_schedule__DD701265E465EC31\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  769. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_authreport_schedule.CN_UID); } }
  770. public const string CN_UID = "uid";
  771. public const string DT_UID = "varchar(36)";
  772. private String _uid;
  773. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_authreport_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":19,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  774. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_authreport_schedule.CN_UPDATE_DATE); } }
  775. public const string CN_UPDATE_DATE = "update_date";
  776. public const string DT_UPDATE_DATE = "datetime";
  777. private DateTime? _update_date;
  778. public tb_rpt_authreport_schedule() : base()
  779. {
  780. }
  781. }
  782. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_report_column\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_report_column_apicolumn_uid\":{\"Pars\":{\"apicolumn_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_apicolumn\"},\"FK_tb_rpt_report_column_report_mst_uid\":{\"Pars\":{\"report_mst_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_report_mst\"},\"FK_tb_rpt_report_column_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_column_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_column_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_report_column_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_rpt_report_column_uid\",\"Item2\":[\"uid\"]}]}")]
  783. public class tb_rpt_report_column : EntityBase
  784. {
  785. public const string TABLENAME = "GroupBuy.tb_rpt_report_column";
  786. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"apicolumn_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_apicolumn\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_column_apicolumn_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  787. public String apicolumn_uid { get { return _apicolumn_uid;} set { _apicolumn_uid = value; SetDirty(tb_rpt_report_column.CN_APICOLUMN_UID); } }
  788. public const string CN_APICOLUMN_UID = "apicolumn_uid";
  789. public const string DT_APICOLUMN_UID = "varchar(36)";
  790. private String _apicolumn_uid;
  791. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_column_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  792. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_report_column.CN_CREATE_ORG_UID); } }
  793. public const string CN_CREATE_ORG_UID = "create_org_uid";
  794. public const string DT_CREATE_ORG_UID = "varchar(36)";
  795. private String _create_org_uid;
  796. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_column_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  797. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_report_column.CN_CREATE_USER_UID); } }
  798. public const string CN_CREATE_USER_UID = "create_user_uid";
  799. public const string DT_CREATE_USER_UID = "varchar(36)";
  800. private String _create_user_uid;
  801. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"report_mst_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_report_mst\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_column_report_mst_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  802. public String report_mst_uid { get { return _report_mst_uid;} set { _report_mst_uid = value; SetDirty(tb_rpt_report_column.CN_REPORT_MST_UID); } }
  803. public const string CN_REPORT_MST_UID = "report_mst_uid";
  804. public const string DT_REPORT_MST_UID = "varchar(36)";
  805. private String _report_mst_uid;
  806. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_column_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  807. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_report_column.CN_UPDATE_ORG_UID); } }
  808. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  809. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  810. private String _update_org_uid;
  811. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_column_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  812. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_report_column.CN_UPDATE_USER_UID); } }
  813. public const string CN_UPDATE_USER_UID = "update_user_uid";
  814. public const string DT_UPDATE_USER_UID = "varchar(36)";
  815. private String _update_user_uid;
  816. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"column_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"nvarchar(16)\",\"DescriptionExtension\":null}")]
  817. public String column_type { get { return _column_type;} set { _column_type = value; SetDirty(tb_rpt_report_column.CN_COLUMN_TYPE); } }
  818. public const string CN_COLUMN_TYPE = "column_type";
  819. public const string DT_COLUMN_TYPE = "nvarchar(16)";
  820. private String _column_type;
  821. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"column_width\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  822. public int? column_width { get { return _column_width;} set { _column_width = value; SetDirty(tb_rpt_report_column.CN_COLUMN_WIDTH); } }
  823. public const string CN_COLUMN_WIDTH = "column_width";
  824. public const string DT_COLUMN_WIDTH = "int";
  825. private int? _column_width;
  826. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  827. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_report_column.CN_CREATE_DATE); } }
  828. public const string CN_CREATE_DATE = "create_date";
  829. public const string DT_CREATE_DATE = "datetime";
  830. private DateTime? _create_date;
  831. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  832. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_report_column.CN_REMARK); } }
  833. public const string CN_REMARK = "remark";
  834. public const string DT_REMARK = "nvarchar(255)";
  835. private String _remark;
  836. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"sequence\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  837. public int? sequence { get { return _sequence;} set { _sequence = value; SetDirty(tb_rpt_report_column.CN_SEQUENCE); } }
  838. public const string CN_SEQUENCE = "sequence";
  839. public const string DT_SEQUENCE = "int";
  840. private int? _sequence;
  841. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  842. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_report_column.CN_STATUS_FLAG); } }
  843. public const string CN_STATUS_FLAG = "status_flag";
  844. public const string DT_STATUS_FLAG = "int";
  845. private int? _status_flag;
  846. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"trans\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  847. public String trans { get { return _trans;} set { _trans = value; SetDirty(tb_rpt_report_column.CN_TRANS); } }
  848. public const string CN_TRANS = "trans";
  849. public const string DT_TRANS = "nvarchar(50)";
  850. private String _trans;
  851. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_rpt_report_column_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  852. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_report_column.CN_UID); } }
  853. public const string CN_UID = "uid";
  854. public const string DT_UID = "varchar(36)";
  855. private String _uid;
  856. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_column\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  857. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_report_column.CN_UPDATE_DATE); } }
  858. public const string CN_UPDATE_DATE = "update_date";
  859. public const string DT_UPDATE_DATE = "datetime";
  860. private DateTime? _update_date;
  861. public tb_rpt_report_column() : base()
  862. {
  863. }
  864. }
  865. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_report_condition\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_report_condition_apicolumn_uid\":{\"Pars\":{\"apicolumn_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_apicolumn\"},\"FK_tb_rpt_report_condition_report_mst_uid\":{\"Pars\":{\"report_mst_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_report_mst\"},\"FK_tb_rpt_report_condition_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_condition_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_condition_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_report_condition_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_rpt_report_condition_uid\",\"Item2\":[\"uid\"]}]}")]
  866. public class tb_rpt_report_condition : EntityBase
  867. {
  868. public const string TABLENAME = "GroupBuy.tb_rpt_report_condition";
  869. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"apicolumn_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_apicolumn\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_condition_apicolumn_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  870. public String apicolumn_uid { get { return _apicolumn_uid;} set { _apicolumn_uid = value; SetDirty(tb_rpt_report_condition.CN_APICOLUMN_UID); } }
  871. public const string CN_APICOLUMN_UID = "apicolumn_uid";
  872. public const string DT_APICOLUMN_UID = "varchar(36)";
  873. private String _apicolumn_uid;
  874. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_condition_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  875. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_report_condition.CN_CREATE_ORG_UID); } }
  876. public const string CN_CREATE_ORG_UID = "create_org_uid";
  877. public const string DT_CREATE_ORG_UID = "varchar(36)";
  878. private String _create_org_uid;
  879. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_condition_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  880. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_report_condition.CN_CREATE_USER_UID); } }
  881. public const string CN_CREATE_USER_UID = "create_user_uid";
  882. public const string DT_CREATE_USER_UID = "varchar(36)";
  883. private String _create_user_uid;
  884. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"report_mst_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_report_mst\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_condition_report_mst_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  885. public String report_mst_uid { get { return _report_mst_uid;} set { _report_mst_uid = value; SetDirty(tb_rpt_report_condition.CN_REPORT_MST_UID); } }
  886. public const string CN_REPORT_MST_UID = "report_mst_uid";
  887. public const string DT_REPORT_MST_UID = "varchar(36)";
  888. private String _report_mst_uid;
  889. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_condition_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  890. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_report_condition.CN_UPDATE_ORG_UID); } }
  891. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  892. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  893. private String _update_org_uid;
  894. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_condition_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  895. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_report_condition.CN_UPDATE_USER_UID); } }
  896. public const string CN_UPDATE_USER_UID = "update_user_uid";
  897. public const string DT_UPDATE_USER_UID = "varchar(36)";
  898. private String _update_user_uid;
  899. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"column_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"nvarchar(16)\",\"DescriptionExtension\":null}")]
  900. public String column_type { get { return _column_type;} set { _column_type = value; SetDirty(tb_rpt_report_condition.CN_COLUMN_TYPE); } }
  901. public const string CN_COLUMN_TYPE = "column_type";
  902. public const string DT_COLUMN_TYPE = "nvarchar(16)";
  903. private String _column_type;
  904. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  905. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_report_condition.CN_CREATE_DATE); } }
  906. public const string CN_CREATE_DATE = "create_date";
  907. public const string DT_CREATE_DATE = "datetime";
  908. private DateTime? _create_date;
  909. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"operation_type\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  910. public String operation_type { get { return _operation_type;} set { _operation_type = value; SetDirty(tb_rpt_report_condition.CN_OPERATION_TYPE); } }
  911. public const string CN_OPERATION_TYPE = "operation_type";
  912. public const string DT_OPERATION_TYPE = "nvarchar(50)";
  913. private String _operation_type;
  914. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"operation_value\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  915. public String operation_value { get { return _operation_value;} set { _operation_value = value; SetDirty(tb_rpt_report_condition.CN_OPERATION_VALUE); } }
  916. public const string CN_OPERATION_VALUE = "operation_value";
  917. public const string DT_OPERATION_VALUE = "nvarchar(255)";
  918. private String _operation_value;
  919. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  920. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_report_condition.CN_REMARK); } }
  921. public const string CN_REMARK = "remark";
  922. public const string DT_REMARK = "nvarchar(255)";
  923. private String _remark;
  924. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  925. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_report_condition.CN_STATUS_FLAG); } }
  926. public const string CN_STATUS_FLAG = "status_flag";
  927. public const string DT_STATUS_FLAG = "int";
  928. private int? _status_flag;
  929. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_rpt_report_condition_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  930. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_report_condition.CN_UID); } }
  931. public const string CN_UID = "uid";
  932. public const string DT_UID = "varchar(36)";
  933. private String _uid;
  934. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_condition\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  935. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_report_condition.CN_UPDATE_DATE); } }
  936. public const string CN_UPDATE_DATE = "update_date";
  937. public const string DT_UPDATE_DATE = "datetime";
  938. private DateTime? _update_date;
  939. public tb_rpt_report_condition() : base()
  940. {
  941. }
  942. }
  943. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_report_mst\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_report_mst_api_uid\":{\"Pars\":{\"api_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_api\"},\"FK_tb_rpt_report_mst_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_mst_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_mst_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_report_mst_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_rpt_report_mst_uid\",\"Item2\":[\"uid\"]}]}")]
  944. public class tb_rpt_report_mst : EntityBase
  945. {
  946. public const string TABLENAME = "GroupBuy.tb_rpt_report_mst";
  947. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"api_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_api\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_mst_api_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  948. public String api_uid { get { return _api_uid;} set { _api_uid = value; SetDirty(tb_rpt_report_mst.CN_API_UID); } }
  949. public const string CN_API_UID = "api_uid";
  950. public const string DT_API_UID = "varchar(36)";
  951. private String _api_uid;
  952. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_mst_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  953. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_report_mst.CN_CREATE_ORG_UID); } }
  954. public const string CN_CREATE_ORG_UID = "create_org_uid";
  955. public const string DT_CREATE_ORG_UID = "varchar(36)";
  956. private String _create_org_uid;
  957. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_mst_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  958. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_report_mst.CN_CREATE_USER_UID); } }
  959. public const string CN_CREATE_USER_UID = "create_user_uid";
  960. public const string DT_CREATE_USER_UID = "varchar(36)";
  961. private String _create_user_uid;
  962. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_mst_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":18,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  963. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_report_mst.CN_UPDATE_ORG_UID); } }
  964. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  965. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  966. private String _update_org_uid;
  967. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_mst_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":17,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  968. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_report_mst.CN_UPDATE_USER_UID); } }
  969. public const string CN_UPDATE_USER_UID = "update_user_uid";
  970. public const string DT_UPDATE_USER_UID = "varchar(36)";
  971. private String _update_user_uid;
  972. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"active_time\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(50)\",\"DescriptionExtension\":null}")]
  973. public String active_time { get { return _active_time;} set { _active_time = value; SetDirty(tb_rpt_report_mst.CN_ACTIVE_TIME); } }
  974. public const string CN_ACTIVE_TIME = "active_time";
  975. public const string DT_ACTIVE_TIME = "varchar(50)";
  976. private String _active_time;
  977. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  978. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_report_mst.CN_CREATE_DATE); } }
  979. public const string CN_CREATE_DATE = "create_date";
  980. public const string DT_CREATE_DATE = "datetime";
  981. private DateTime? _create_date;
  982. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"database_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  983. public String database_type { get { return _database_type;} set { _database_type = value; SetDirty(tb_rpt_report_mst.CN_DATABASE_TYPE); } }
  984. public const string CN_DATABASE_TYPE = "database_type";
  985. public const string DT_DATABASE_TYPE = "varchar(16)";
  986. private String _database_type;
  987. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"footer_img_path\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  988. public String footer_img_path { get { return _footer_img_path;} set { _footer_img_path = value; SetDirty(tb_rpt_report_mst.CN_FOOTER_IMG_PATH); } }
  989. public const string CN_FOOTER_IMG_PATH = "footer_img_path";
  990. public const string DT_FOOTER_IMG_PATH = "nvarchar(255)";
  991. private String _footer_img_path;
  992. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"header_img_path\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  993. public String header_img_path { get { return _header_img_path;} set { _header_img_path = value; SetDirty(tb_rpt_report_mst.CN_HEADER_IMG_PATH); } }
  994. public const string CN_HEADER_IMG_PATH = "header_img_path";
  995. public const string DT_HEADER_IMG_PATH = "nvarchar(255)";
  996. private String _header_img_path;
  997. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"mail\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  998. public String mail { get { return _mail;} set { _mail = value; SetDirty(tb_rpt_report_mst.CN_MAIL); } }
  999. public const string CN_MAIL = "mail";
  1000. public const string DT_MAIL = "nvarchar(255)";
  1001. private String _mail;
  1002. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1003. public String name { get { return _name;} set { _name = value; SetDirty(tb_rpt_report_mst.CN_NAME); } }
  1004. public const string CN_NAME = "name";
  1005. public const string DT_NAME = "nvarchar(50)";
  1006. private String _name;
  1007. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1008. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_report_mst.CN_REMARK); } }
  1009. public const string CN_REMARK = "remark";
  1010. public const string DT_REMARK = "nvarchar(255)";
  1011. private String _remark;
  1012. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"schedule_frequency\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  1013. public String schedule_frequency { get { return _schedule_frequency;} set { _schedule_frequency = value; SetDirty(tb_rpt_report_mst.CN_SCHEDULE_FREQUENCY); } }
  1014. public const string CN_SCHEDULE_FREQUENCY = "schedule_frequency";
  1015. public const string DT_SCHEDULE_FREQUENCY = "varchar(16)";
  1016. private String _schedule_frequency;
  1017. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"server_group_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  1018. public String server_group_name { get { return _server_group_name;} set { _server_group_name = value; SetDirty(tb_rpt_report_mst.CN_SERVER_GROUP_NAME); } }
  1019. public const string CN_SERVER_GROUP_NAME = "server_group_name";
  1020. public const string DT_SERVER_GROUP_NAME = "varchar(16)";
  1021. private String _server_group_name;
  1022. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1023. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_report_mst.CN_STATUS_FLAG); } }
  1024. public const string CN_STATUS_FLAG = "status_flag";
  1025. public const string DT_STATUS_FLAG = "int";
  1026. private int? _status_flag;
  1027. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_rpt_report_mst_uid\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1028. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_report_mst.CN_UID); } }
  1029. public const string CN_UID = "uid";
  1030. public const string DT_UID = "varchar(36)";
  1031. private String _uid;
  1032. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_mst\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":16,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1033. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_report_mst.CN_UPDATE_DATE); } }
  1034. public const string CN_UPDATE_DATE = "update_date";
  1035. public const string DT_UPDATE_DATE = "datetime";
  1036. private DateTime? _update_date;
  1037. public tb_rpt_report_mst() : base()
  1038. {
  1039. }
  1040. }
  1041. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_rpt_report_schedule_report_mst_uid\":{\"Pars\":{\"report_mst_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_rpt_report_mst\"},\"FK_tb_rpt_report_schedule_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_schedule_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_rpt_report_schedule_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_rpt_report_schedule_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ_tb_rpt_report_schedule__DD701265E465EC31\",\"Item2\":[\"uid\"]}]}")]
  1042. public class tb_rpt_report_schedule : EntityBase
  1043. {
  1044. public const string TABLENAME = "GroupBuy.tb_rpt_report_schedule";
  1045. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_schedule_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":17,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1046. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_rpt_report_schedule.CN_CREATE_ORG_UID); } }
  1047. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1048. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1049. private String _create_org_uid;
  1050. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_schedule_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":16,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1051. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_rpt_report_schedule.CN_CREATE_USER_UID); } }
  1052. public const string CN_CREATE_USER_UID = "create_user_uid";
  1053. public const string DT_CREATE_USER_UID = "varchar(36)";
  1054. private String _create_user_uid;
  1055. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"report_mst_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_rpt_report_mst\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_schedule_report_mst_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1056. public String report_mst_uid { get { return _report_mst_uid;} set { _report_mst_uid = value; SetDirty(tb_rpt_report_schedule.CN_REPORT_MST_UID); } }
  1057. public const string CN_REPORT_MST_UID = "report_mst_uid";
  1058. public const string DT_REPORT_MST_UID = "varchar(36)";
  1059. private String _report_mst_uid;
  1060. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_schedule_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":20,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1061. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_rpt_report_schedule.CN_UPDATE_ORG_UID); } }
  1062. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1063. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1064. private String _update_org_uid;
  1065. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_rpt_report_schedule_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":19,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1066. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_rpt_report_schedule.CN_UPDATE_USER_UID); } }
  1067. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1068. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1069. private String _update_user_uid;
  1070. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1071. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_rpt_report_schedule.CN_CREATE_DATE); } }
  1072. public const string CN_CREATE_DATE = "create_date";
  1073. public const string DT_CREATE_DATE = "datetime";
  1074. private DateTime? _create_date;
  1075. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"data_range_end\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1076. public DateTime? data_range_end { get { return _data_range_end;} set { _data_range_end = value; SetDirty(tb_rpt_report_schedule.CN_DATA_RANGE_END); } }
  1077. public const string CN_DATA_RANGE_END = "data_range_end";
  1078. public const string DT_DATA_RANGE_END = "datetime";
  1079. private DateTime? _data_range_end;
  1080. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"data_range_start\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1081. public DateTime? data_range_start { get { return _data_range_start;} set { _data_range_start = value; SetDirty(tb_rpt_report_schedule.CN_DATA_RANGE_START); } }
  1082. public const string CN_DATA_RANGE_START = "data_range_start";
  1083. public const string DT_DATA_RANGE_START = "datetime";
  1084. private DateTime? _data_range_start;
  1085. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"database_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  1086. public String database_type { get { return _database_type;} set { _database_type = value; SetDirty(tb_rpt_report_schedule.CN_DATABASE_TYPE); } }
  1087. public const string CN_DATABASE_TYPE = "database_type";
  1088. public const string DT_DATABASE_TYPE = "varchar(16)";
  1089. private String _database_type;
  1090. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"expected_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1091. public DateTime? expected_date { get { return _expected_date;} set { _expected_date = value; SetDirty(tb_rpt_report_schedule.CN_EXPECTED_DATE); } }
  1092. public const string CN_EXPECTED_DATE = "expected_date";
  1093. public const string DT_EXPECTED_DATE = "datetime";
  1094. private DateTime? _expected_date;
  1095. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"extension_meta\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1096. public String extension_meta { get { return _extension_meta;} set { _extension_meta = value; SetDirty(tb_rpt_report_schedule.CN_EXTENSION_META); } }
  1097. public const string CN_EXTENSION_META = "extension_meta";
  1098. public const string DT_EXTENSION_META = "nvarchar(255)";
  1099. private String _extension_meta;
  1100. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"handle_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((-1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1101. public int? handle_flag { get { return _handle_flag;} set { _handle_flag = value; SetDirty(tb_rpt_report_schedule.CN_HANDLE_FLAG); } }
  1102. public const string CN_HANDLE_FLAG = "handle_flag";
  1103. public const string DT_HANDLE_FLAG = "int";
  1104. private int? _handle_flag;
  1105. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"ip\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":45,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":45,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(45)\",\"DescriptionExtension\":null}")]
  1106. public String ip { get { return _ip;} set { _ip = value; SetDirty(tb_rpt_report_schedule.CN_IP); } }
  1107. public const string CN_IP = "ip";
  1108. public const string DT_IP = "varchar(45)";
  1109. private String _ip;
  1110. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"mail\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1111. public String mail { get { return _mail;} set { _mail = value; SetDirty(tb_rpt_report_schedule.CN_MAIL); } }
  1112. public const string CN_MAIL = "mail";
  1113. public const string DT_MAIL = "nvarchar(255)";
  1114. private String _mail;
  1115. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"process_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1116. public DateTime? process_date { get { return _process_date;} set { _process_date = value; SetDirty(tb_rpt_report_schedule.CN_PROCESS_DATE); } }
  1117. public const string CN_PROCESS_DATE = "process_date";
  1118. public const string DT_PROCESS_DATE = "datetime";
  1119. private DateTime? _process_date;
  1120. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":true,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  1121. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_rpt_report_schedule.CN_REMARK); } }
  1122. public const string CN_REMARK = "remark";
  1123. public const string DT_REMARK = "nvarchar(-1)";
  1124. private String _remark;
  1125. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"server_group_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(16)\",\"DescriptionExtension\":null}")]
  1126. public String server_group_name { get { return _server_group_name;} set { _server_group_name = value; SetDirty(tb_rpt_report_schedule.CN_SERVER_GROUP_NAME); } }
  1127. public const string CN_SERVER_GROUP_NAME = "server_group_name";
  1128. public const string DT_SERVER_GROUP_NAME = "varchar(16)";
  1129. private String _server_group_name;
  1130. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1131. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_rpt_report_schedule.CN_STATUS_FLAG); } }
  1132. public const string CN_STATUS_FLAG = "status_flag";
  1133. public const string DT_STATUS_FLAG = "int";
  1134. private int? _status_flag;
  1135. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_rpt_report_schedule__DD701265E465EC31\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1136. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_rpt_report_schedule.CN_UID); } }
  1137. public const string CN_UID = "uid";
  1138. public const string DT_UID = "varchar(36)";
  1139. private String _uid;
  1140. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_rpt_report_schedule\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":18,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1141. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_rpt_report_schedule.CN_UPDATE_DATE); } }
  1142. public const string CN_UPDATE_DATE = "update_date";
  1143. public const string DT_UPDATE_DATE = "datetime";
  1144. private DateTime? _update_date;
  1145. public tb_rpt_report_schedule() : base()
  1146. {
  1147. }
  1148. }
  1149. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_action\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_action_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_action_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_action_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_action_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_action\",\"Item2\":[\"name\"]},{\"Item1\":\"UQ__tb_sys_a__DD701265EDEA1A0C\",\"Item2\":[\"uid\"]}]}")]
  1150. public class tb_sys_action : EntityBase
  1151. {
  1152. public const string TABLENAME = "GroupBuy.tb_sys_action";
  1153. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_action_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1154. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_action.CN_CREATE_ORG_UID); } }
  1155. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1156. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1157. private String _create_org_uid;
  1158. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_action_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1159. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_action.CN_CREATE_USER_UID); } }
  1160. public const string CN_CREATE_USER_UID = "create_user_uid";
  1161. public const string DT_CREATE_USER_UID = "varchar(36)";
  1162. private String _create_user_uid;
  1163. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_action_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1164. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_action.CN_UPDATE_ORG_UID); } }
  1165. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1166. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1167. private String _update_org_uid;
  1168. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_action_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1169. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_action.CN_UPDATE_USER_UID); } }
  1170. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1171. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1172. private String _update_user_uid;
  1173. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1174. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_action.CN_CREATE_DATE); } }
  1175. public const string CN_CREATE_DATE = "create_date";
  1176. public const string DT_CREATE_DATE = "datetime";
  1177. private DateTime? _create_date;
  1178. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_action\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1179. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_action.CN_NAME); } }
  1180. public const string CN_NAME = "name";
  1181. public const string DT_NAME = "nvarchar(50)";
  1182. private String _name;
  1183. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1184. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_action.CN_STATUS_FLAG); } }
  1185. public const string CN_STATUS_FLAG = "status_flag";
  1186. public const string DT_STATUS_FLAG = "int";
  1187. private int? _status_flag;
  1188. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1189. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_sys_action.CN_SYSTEM_FLAG); } }
  1190. public const string CN_SYSTEM_FLAG = "system_flag";
  1191. public const string DT_SYSTEM_FLAG = "int";
  1192. private int? _system_flag;
  1193. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_a__DD701265EDEA1A0C\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1194. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_action.CN_UID); } }
  1195. public const string CN_UID = "uid";
  1196. public const string DT_UID = "nvarchar(50)";
  1197. private String _uid;
  1198. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1199. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_action.CN_UPDATE_DATE); } }
  1200. public const string CN_UPDATE_DATE = "update_date";
  1201. public const string DT_UPDATE_DATE = "datetime";
  1202. private DateTime? _update_date;
  1203. public tb_sys_action() : base()
  1204. {
  1205. }
  1206. }
  1207. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_adintegration\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_adintegration_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_adintegration_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_adintegration_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_adintegration_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_adintegration\",\"Item2\":[\"location\"]},{\"Item1\":\"UQ_tb_sys_adintegration_uid\",\"Item2\":[\"uid\"]}]}")]
  1208. public class tb_sys_adintegration : EntityBase
  1209. {
  1210. public const string TABLENAME = "GroupBuy.tb_sys_adintegration";
  1211. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_adintegration_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1212. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_adintegration.CN_CREATE_ORG_UID); } }
  1213. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1214. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1215. private String _create_org_uid;
  1216. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_adintegration_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1217. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_adintegration.CN_CREATE_USER_UID); } }
  1218. public const string CN_CREATE_USER_UID = "create_user_uid";
  1219. public const string DT_CREATE_USER_UID = "varchar(36)";
  1220. private String _create_user_uid;
  1221. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_adintegration_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1222. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_adintegration.CN_UPDATE_ORG_UID); } }
  1223. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1224. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1225. private String _update_org_uid;
  1226. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_adintegration_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1227. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_adintegration.CN_UPDATE_USER_UID); } }
  1228. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1229. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1230. private String _update_user_uid;
  1231. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1232. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_adintegration.CN_CREATE_DATE); } }
  1233. public const string CN_CREATE_DATE = "create_date";
  1234. public const string DT_CREATE_DATE = "datetime";
  1235. private DateTime? _create_date;
  1236. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"file_path\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1237. public String file_path { get { return _file_path;} set { _file_path = value; SetDirty(tb_sys_adintegration.CN_FILE_PATH); } }
  1238. public const string CN_FILE_PATH = "file_path";
  1239. public const string DT_FILE_PATH = "nvarchar(255)";
  1240. private String _file_path;
  1241. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"location\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_adintegration\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1242. public String location { get { return _location;} set { _location = value; SetDirty(tb_sys_adintegration.CN_LOCATION); } }
  1243. public const string CN_LOCATION = "location";
  1244. public const string DT_LOCATION = "nvarchar(50)";
  1245. private String _location;
  1246. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1247. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_adintegration.CN_REMARK); } }
  1248. public const string CN_REMARK = "remark";
  1249. public const string DT_REMARK = "nvarchar(50)";
  1250. private String _remark;
  1251. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1252. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_adintegration.CN_STATUS_FLAG); } }
  1253. public const string CN_STATUS_FLAG = "status_flag";
  1254. public const string DT_STATUS_FLAG = "int";
  1255. private int? _status_flag;
  1256. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_sys_adintegration_uid\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1257. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_adintegration.CN_UID); } }
  1258. public const string CN_UID = "uid";
  1259. public const string DT_UID = "varchar(36)";
  1260. private String _uid;
  1261. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegration\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1262. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_adintegration.CN_UPDATE_DATE); } }
  1263. public const string CN_UPDATE_DATE = "update_date";
  1264. public const string DT_UPDATE_DATE = "datetime";
  1265. private DateTime? _update_date;
  1266. public tb_sys_adintegration() : base()
  1267. {
  1268. }
  1269. }
  1270. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_adintegrationlog_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_adintegrationlog_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ_tb_sys_adintegrationlog\",\"Item2\":[\"uid\"]}]}")]
  1271. public class tb_sys_adintegrationlog : EntityBase
  1272. {
  1273. public const string TABLENAME = "GroupBuy.tb_sys_adintegrationlog";
  1274. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_adintegrationlog_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1275. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_adintegrationlog.CN_CREATE_ORG_UID); } }
  1276. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1277. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1278. private String _create_org_uid;
  1279. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_adintegrationlog_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1280. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_adintegrationlog.CN_CREATE_USER_UID); } }
  1281. public const string CN_CREATE_USER_UID = "create_user_uid";
  1282. public const string DT_CREATE_USER_UID = "varchar(36)";
  1283. private String _create_user_uid;
  1284. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1285. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_adintegrationlog.CN_CREATE_DATE); } }
  1286. public const string CN_CREATE_DATE = "create_date";
  1287. public const string DT_CREATE_DATE = "datetime";
  1288. private DateTime? _create_date;
  1289. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"location\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1290. public String location { get { return _location;} set { _location = value; SetDirty(tb_sys_adintegrationlog.CN_LOCATION); } }
  1291. public const string CN_LOCATION = "location";
  1292. public const string DT_LOCATION = "nvarchar(50)";
  1293. private String _location;
  1294. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  1295. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_adintegrationlog.CN_REMARK); } }
  1296. public const string CN_REMARK = "remark";
  1297. public const string DT_REMARK = "nvarchar(-1)";
  1298. private String _remark;
  1299. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"success_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1300. public int? success_flag { get { return _success_flag;} set { _success_flag = value; SetDirty(tb_sys_adintegrationlog.CN_SUCCESS_FLAG); } }
  1301. public const string CN_SUCCESS_FLAG = "success_flag";
  1302. public const string DT_SUCCESS_FLAG = "int";
  1303. private int? _success_flag;
  1304. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_adintegrationlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_sys_adintegrationlog\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1305. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_adintegrationlog.CN_UID); } }
  1306. public const string CN_UID = "uid";
  1307. public const string DT_UID = "varchar(36)";
  1308. private String _uid;
  1309. public tb_sys_adintegrationlog() : base()
  1310. {
  1311. }
  1312. }
  1313. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_announce\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[]}")]
  1314. public class tb_sys_announce : EntityBase
  1315. {
  1316. public const string TABLENAME = "GroupBuy.tb_sys_announce";
  1317. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"content\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(-1)\",\"DescriptionExtension\":null}")]
  1318. public String content { get { return _content;} set { _content = value; SetDirty(tb_sys_announce.CN_CONTENT); } }
  1319. public const string CN_CONTENT = "content";
  1320. public const string DT_CONTENT = "varchar(-1)";
  1321. private String _content;
  1322. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1323. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_announce.CN_CREATE_DATE); } }
  1324. public const string CN_CREATE_DATE = "create_date";
  1325. public const string DT_CREATE_DATE = "datetime";
  1326. private DateTime? _create_date;
  1327. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1328. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_announce.CN_CREATE_USER_UID); } }
  1329. public const string CN_CREATE_USER_UID = "create_user_uid";
  1330. public const string DT_CREATE_USER_UID = "varchar(36)";
  1331. private String _create_user_uid;
  1332. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"end_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1333. public DateTime? end_date { get { return _end_date;} set { _end_date = value; SetDirty(tb_sys_announce.CN_END_DATE); } }
  1334. public const string CN_END_DATE = "end_date";
  1335. public const string DT_END_DATE = "datetime";
  1336. private DateTime? _end_date;
  1337. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"start_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1338. public DateTime? start_date { get { return _start_date;} set { _start_date = value; SetDirty(tb_sys_announce.CN_START_DATE); } }
  1339. public const string CN_START_DATE = "start_date";
  1340. public const string DT_START_DATE = "datetime";
  1341. private DateTime? _start_date;
  1342. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1343. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_announce.CN_STATUS_FLAG); } }
  1344. public const string CN_STATUS_FLAG = "status_flag";
  1345. public const string DT_STATUS_FLAG = "int";
  1346. private int? _status_flag;
  1347. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"title\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(50)\",\"DescriptionExtension\":null}")]
  1348. public String title { get { return _title;} set { _title = value; SetDirty(tb_sys_announce.CN_TITLE); } }
  1349. public const string CN_TITLE = "title";
  1350. public const string DT_TITLE = "varchar(50)";
  1351. private String _title;
  1352. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1353. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_announce.CN_UID); } }
  1354. public const string CN_UID = "uid";
  1355. public const string DT_UID = "varchar(36)";
  1356. private String _uid;
  1357. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1358. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_announce.CN_UPDATE_DATE); } }
  1359. public const string CN_UPDATE_DATE = "update_date";
  1360. public const string DT_UPDATE_DATE = "datetime";
  1361. private DateTime? _update_date;
  1362. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_announce\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1363. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_announce.CN_UPDATE_USER_UID); } }
  1364. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1365. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1366. private String _update_user_uid;
  1367. public tb_sys_announce() : base()
  1368. {
  1369. }
  1370. }
  1371. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_dblock\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_bse_dblock_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_bse_dblock_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_bse_dblock_program_id\":{\"Pars\":{\"program_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_program\"},\"FK_tb_bse_dblock_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_bse_dblock_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_dblock_unique_data\",\"Item2\":[\"lock_uid\",\"table_uid\"]},{\"Item1\":\"UQ__tb_sys_d__DD701265BC5AAEDB\",\"Item2\":[\"uid\"]}]}")]
  1372. public class tb_sys_dblock : EntityBase
  1373. {
  1374. public const string TABLENAME = "GroupBuy.tb_sys_dblock";
  1375. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_dblock_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1376. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_dblock.CN_CREATE_ORG_UID); } }
  1377. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1378. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1379. private String _create_org_uid;
  1380. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_dblock_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1381. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_dblock.CN_CREATE_USER_UID); } }
  1382. public const string CN_CREATE_USER_UID = "create_user_uid";
  1383. public const string DT_CREATE_USER_UID = "varchar(36)";
  1384. private String _create_user_uid;
  1385. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"program_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_program\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_dblock_program_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1386. public String program_uid { get { return _program_uid;} set { _program_uid = value; SetDirty(tb_sys_dblock.CN_PROGRAM_UID); } }
  1387. public const string CN_PROGRAM_UID = "program_uid";
  1388. public const string DT_PROGRAM_UID = "varchar(36)";
  1389. private String _program_uid;
  1390. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_dblock_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":16,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1391. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_dblock.CN_UPDATE_ORG_UID); } }
  1392. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1393. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1394. private String _update_org_uid;
  1395. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_dblock_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1396. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_dblock.CN_UPDATE_USER_UID); } }
  1397. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1398. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1399. private String _update_user_uid;
  1400. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1401. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_dblock.CN_CREATE_DATE); } }
  1402. public const string CN_CREATE_DATE = "create_date";
  1403. public const string DT_CREATE_DATE = "datetime";
  1404. private DateTime? _create_date;
  1405. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_cust_desc\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1406. public String lock_cust_desc { get { return _lock_cust_desc;} set { _lock_cust_desc = value; SetDirty(tb_sys_dblock.CN_LOCK_CUST_DESC); } }
  1407. public const string CN_LOCK_CUST_DESC = "lock_cust_desc";
  1408. public const string DT_LOCK_CUST_DESC = "nvarchar(50)";
  1409. private String _lock_cust_desc;
  1410. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_hostname\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1411. public String lock_hostname { get { return _lock_hostname;} set { _lock_hostname = value; SetDirty(tb_sys_dblock.CN_LOCK_HOSTNAME); } }
  1412. public const string CN_LOCK_HOSTNAME = "lock_hostname";
  1413. public const string DT_LOCK_HOSTNAME = "nvarchar(50)";
  1414. private String _lock_hostname;
  1415. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_ip\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":39,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":39,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(39)\",\"DescriptionExtension\":null}")]
  1416. public String lock_ip { get { return _lock_ip;} set { _lock_ip = value; SetDirty(tb_sys_dblock.CN_LOCK_IP); } }
  1417. public const string CN_LOCK_IP = "lock_ip";
  1418. public const string DT_LOCK_IP = "varchar(39)";
  1419. private String _lock_ip;
  1420. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_dblock_unique_data\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1421. public String lock_uid { get { return _lock_uid;} set { _lock_uid = value; SetDirty(tb_sys_dblock.CN_LOCK_UID); } }
  1422. public const string CN_LOCK_UID = "lock_uid";
  1423. public const string DT_LOCK_UID = "varchar(36)";
  1424. private String _lock_uid;
  1425. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1426. public DateTime? lock_update_date { get { return _lock_update_date;} set { _lock_update_date = value; SetDirty(tb_sys_dblock.CN_LOCK_UPDATE_DATE); } }
  1427. public const string CN_LOCK_UPDATE_DATE = "lock_update_date";
  1428. public const string DT_LOCK_UPDATE_DATE = "datetime";
  1429. private DateTime? _lock_update_date;
  1430. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1431. public String lock_update_org_uid { get { return _lock_update_org_uid;} set { _lock_update_org_uid = value; SetDirty(tb_sys_dblock.CN_LOCK_UPDATE_ORG_UID); } }
  1432. public const string CN_LOCK_UPDATE_ORG_UID = "lock_update_org_uid";
  1433. public const string DT_LOCK_UPDATE_ORG_UID = "varchar(36)";
  1434. private String _lock_update_org_uid;
  1435. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"lock_update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1436. public String lock_update_user_uid { get { return _lock_update_user_uid;} set { _lock_update_user_uid = value; SetDirty(tb_sys_dblock.CN_LOCK_UPDATE_USER_UID); } }
  1437. public const string CN_LOCK_UPDATE_USER_UID = "lock_update_user_uid";
  1438. public const string DT_LOCK_UPDATE_USER_UID = "varchar(36)";
  1439. private String _lock_update_user_uid;
  1440. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"table_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_dblock_unique_data\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1441. public String table_uid { get { return _table_uid;} set { _table_uid = value; SetDirty(tb_sys_dblock.CN_TABLE_UID); } }
  1442. public const string CN_TABLE_UID = "table_uid";
  1443. public const string DT_TABLE_UID = "nvarchar(50)";
  1444. private String _table_uid;
  1445. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_d__DD701265BC5AAEDB\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1446. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_dblock.CN_UID); } }
  1447. public const string CN_UID = "uid";
  1448. public const string DT_UID = "varchar(36)";
  1449. private String _uid;
  1450. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_dblock\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1451. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_dblock.CN_UPDATE_DATE); } }
  1452. public const string CN_UPDATE_DATE = "update_date";
  1453. public const string DT_UPDATE_DATE = "datetime";
  1454. private DateTime? _update_date;
  1455. public tb_sys_dblock() : base()
  1456. {
  1457. }
  1458. }
  1459. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"PKColumns\":[],\"ForeignRelations\":{},\"UniqueIndexes\":[{\"Item1\":\"UQ__tb_sys_o__DD701265C9BE813D\",\"Item2\":[\"uid\"]}]}")]
  1460. public class tb_sys_exceptionlog : EntityBase
  1461. {
  1462. public const string TABLENAME = "GroupBuy.tb_sys_exceptionlog";
  1463. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1464. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_exceptionlog.CN_CREATE_DATE); } }
  1465. public const string CN_CREATE_DATE = "create_date";
  1466. public const string DT_CREATE_DATE = "datetime";
  1467. private DateTime? _create_date;
  1468. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1469. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_exceptionlog.CN_CREATE_ORG_UID); } }
  1470. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1471. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1472. private String _create_org_uid;
  1473. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1474. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_exceptionlog.CN_CREATE_USER_UID); } }
  1475. public const string CN_CREATE_USER_UID = "create_user_uid";
  1476. public const string DT_CREATE_USER_UID = "varchar(36)";
  1477. private String _create_user_uid;
  1478. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"detail\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  1479. public String detail { get { return _detail;} set { _detail = value; SetDirty(tb_sys_exceptionlog.CN_DETAIL); } }
  1480. public const string CN_DETAIL = "detail";
  1481. public const string DT_DETAIL = "nvarchar(-1)";
  1482. private String _detail;
  1483. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"file_path\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1484. public String file_path { get { return _file_path;} set { _file_path = value; SetDirty(tb_sys_exceptionlog.CN_FILE_PATH); } }
  1485. public const string CN_FILE_PATH = "file_path";
  1486. public const string DT_FILE_PATH = "nvarchar(255)";
  1487. private String _file_path;
  1488. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"line_number\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1489. public int? line_number { get { return _line_number;} set { _line_number = value; SetDirty(tb_sys_exceptionlog.CN_LINE_NUMBER); } }
  1490. public const string CN_LINE_NUMBER = "line_number";
  1491. public const string DT_LINE_NUMBER = "int";
  1492. private int? _line_number;
  1493. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"member_name\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1494. public String member_name { get { return _member_name;} set { _member_name = value; SetDirty(tb_sys_exceptionlog.CN_MEMBER_NAME); } }
  1495. public const string CN_MEMBER_NAME = "member_name";
  1496. public const string DT_MEMBER_NAME = "nvarchar(255)";
  1497. private String _member_name;
  1498. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"parameters\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  1499. public String parameters { get { return _parameters;} set { _parameters = value; SetDirty(tb_sys_exceptionlog.CN_PARAMETERS); } }
  1500. public const string CN_PARAMETERS = "parameters";
  1501. public const string DT_PARAMETERS = "nvarchar(-1)";
  1502. private String _parameters;
  1503. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"program_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1504. public String program_uid { get { return _program_uid;} set { _program_uid = value; SetDirty(tb_sys_exceptionlog.CN_PROGRAM_UID); } }
  1505. public const string CN_PROGRAM_UID = "program_uid";
  1506. public const string DT_PROGRAM_UID = "varchar(36)";
  1507. private String _program_uid;
  1508. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_exceptionlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_o__DD701265C9BE813D\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1509. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_exceptionlog.CN_UID); } }
  1510. public const string CN_UID = "uid";
  1511. public const string DT_UID = "varchar(36)";
  1512. private String _uid;
  1513. public tb_sys_exceptionlog() : base()
  1514. {
  1515. }
  1516. }
  1517. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_manuallog\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_manuallog_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_manuallog_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ_tb_sys_manuallog\",\"Item2\":[\"uid\"]}]}")]
  1518. public class tb_sys_manuallog : EntityBase
  1519. {
  1520. public const string TABLENAME = "GroupBuy.tb_sys_manuallog";
  1521. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_manuallog_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1522. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_manuallog.CN_CREATE_ORG_UID); } }
  1523. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1524. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1525. private String _create_org_uid;
  1526. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_manuallog_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1527. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_manuallog.CN_CREATE_USER_UID); } }
  1528. public const string CN_CREATE_USER_UID = "create_user_uid";
  1529. public const string DT_CREATE_USER_UID = "varchar(36)";
  1530. private String _create_user_uid;
  1531. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"action_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":16,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":16,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(16)\",\"DescriptionExtension\":null}")]
  1532. public String action_name { get { return _action_name;} set { _action_name = value; SetDirty(tb_sys_manuallog.CN_ACTION_NAME); } }
  1533. public const string CN_ACTION_NAME = "action_name";
  1534. public const string DT_ACTION_NAME = "nvarchar(16)";
  1535. private String _action_name;
  1536. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1537. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_manuallog.CN_CREATE_DATE); } }
  1538. public const string CN_CREATE_DATE = "create_date";
  1539. public const string DT_CREATE_DATE = "datetime";
  1540. private DateTime? _create_date;
  1541. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"message\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  1542. public String message { get { return _message;} set { _message = value; SetDirty(tb_sys_manuallog.CN_MESSAGE); } }
  1543. public const string CN_MESSAGE = "message";
  1544. public const string DT_MESSAGE = "nvarchar(-1)";
  1545. private String _message;
  1546. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"program_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1547. public String program_uid { get { return _program_uid;} set { _program_uid = value; SetDirty(tb_sys_manuallog.CN_PROGRAM_UID); } }
  1548. public const string CN_PROGRAM_UID = "program_uid";
  1549. public const string DT_PROGRAM_UID = "varchar(36)";
  1550. private String _program_uid;
  1551. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":-1,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(-1)\",\"DescriptionExtension\":null}")]
  1552. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_manuallog.CN_REMARK); } }
  1553. public const string CN_REMARK = "remark";
  1554. public const string DT_REMARK = "nvarchar(-1)";
  1555. private String _remark;
  1556. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_manuallog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_sys_manuallog\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1557. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_manuallog.CN_UID); } }
  1558. public const string CN_UID = "uid";
  1559. public const string DT_UID = "varchar(36)";
  1560. private String _uid;
  1561. public tb_sys_manuallog() : base()
  1562. {
  1563. }
  1564. }
  1565. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_module\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_module_parent\":{\"Pars\":{\"parent\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_module\"},\"FK_tb_sys_module_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_module_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_module_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_module_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_module\",\"Item2\":[\"name\"]},{\"Item1\":\"UQ__tb_sys_m__DD701265E465EC31\",\"Item2\":[\"uid\"]}]}")]
  1566. public class tb_sys_module : EntityBase
  1567. {
  1568. public const string TABLENAME = "GroupBuy.tb_sys_module";
  1569. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_module_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1570. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_module.CN_CREATE_ORG_UID); } }
  1571. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1572. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1573. private String _create_org_uid;
  1574. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_module_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1575. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_module.CN_CREATE_USER_UID); } }
  1576. public const string CN_CREATE_USER_UID = "create_user_uid";
  1577. public const string DT_CREATE_USER_UID = "varchar(36)";
  1578. private String _create_user_uid;
  1579. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"parent\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_module\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_module_parent\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1580. public String parent { get { return _parent;} set { _parent = value; SetDirty(tb_sys_module.CN_PARENT); } }
  1581. public const string CN_PARENT = "parent";
  1582. public const string DT_PARENT = "varchar(36)";
  1583. private String _parent;
  1584. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_module_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1585. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_module.CN_UPDATE_ORG_UID); } }
  1586. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1587. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1588. private String _update_org_uid;
  1589. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_module_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1590. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_module.CN_UPDATE_USER_UID); } }
  1591. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1592. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1593. private String _update_user_uid;
  1594. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"code\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1595. public String code { get { return _code;} set { _code = value; SetDirty(tb_sys_module.CN_CODE); } }
  1596. public const string CN_CODE = "code";
  1597. public const string DT_CODE = "nvarchar(50)";
  1598. private String _code;
  1599. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1600. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_module.CN_CREATE_DATE); } }
  1601. public const string CN_CREATE_DATE = "create_date";
  1602. public const string DT_CREATE_DATE = "datetime";
  1603. private DateTime? _create_date;
  1604. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"memo\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1605. public String memo { get { return _memo;} set { _memo = value; SetDirty(tb_sys_module.CN_MEMO); } }
  1606. public const string CN_MEMO = "memo";
  1607. public const string DT_MEMO = "nvarchar(255)";
  1608. private String _memo;
  1609. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_module\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1610. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_module.CN_NAME); } }
  1611. public const string CN_NAME = "name";
  1612. public const string DT_NAME = "nvarchar(50)";
  1613. private String _name;
  1614. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1615. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_module.CN_REMARK); } }
  1616. public const string CN_REMARK = "remark";
  1617. public const string DT_REMARK = "nvarchar(50)";
  1618. private String _remark;
  1619. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"seq\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1000))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1620. public int? seq { get { return _seq;} set { _seq = value; SetDirty(tb_sys_module.CN_SEQ); } }
  1621. public const string CN_SEQ = "seq";
  1622. public const string DT_SEQ = "int";
  1623. private int? _seq;
  1624. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1625. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_module.CN_STATUS_FLAG); } }
  1626. public const string CN_STATUS_FLAG = "status_flag";
  1627. public const string DT_STATUS_FLAG = "int";
  1628. private int? _status_flag;
  1629. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_m__DD701265E465EC31\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1630. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_module.CN_UID); } }
  1631. public const string CN_UID = "uid";
  1632. public const string DT_UID = "varchar(36)";
  1633. private String _uid;
  1634. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_module\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1635. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_module.CN_UPDATE_DATE); } }
  1636. public const string CN_UPDATE_DATE = "update_date";
  1637. public const string DT_UPDATE_DATE = "datetime";
  1638. private DateTime? _update_date;
  1639. public tb_sys_module() : base()
  1640. {
  1641. }
  1642. }
  1643. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_org\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_org_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_org_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_org_tb_sys_user_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_org_tb_sys_user_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ__tb_sys_o__DD701265C9BE813C\",\"Item2\":[\"uid\"]}]}")]
  1644. public class tb_sys_org : EntityBase
  1645. {
  1646. public const string TABLENAME = "GroupBuy.tb_sys_org";
  1647. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_org_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1648. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_org.CN_CREATE_ORG_UID); } }
  1649. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1650. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1651. private String _create_org_uid;
  1652. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_org_tb_sys_user_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1653. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_org.CN_CREATE_USER_UID); } }
  1654. public const string CN_CREATE_USER_UID = "create_user_uid";
  1655. public const string DT_CREATE_USER_UID = "varchar(36)";
  1656. private String _create_user_uid;
  1657. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_org_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1658. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_org.CN_UPDATE_ORG_UID); } }
  1659. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1660. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1661. private String _update_org_uid;
  1662. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_org_tb_sys_user_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1663. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_org.CN_UPDATE_USER_UID); } }
  1664. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1665. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1666. private String _update_user_uid;
  1667. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1668. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_org.CN_CREATE_DATE); } }
  1669. public const string CN_CREATE_DATE = "create_date";
  1670. public const string DT_CREATE_DATE = "datetime";
  1671. private DateTime? _create_date;
  1672. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"email\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":320,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":320,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"varchar(320)\",\"DescriptionExtension\":null}")]
  1673. public String email { get { return _email;} set { _email = value; SetDirty(tb_sys_org.CN_EMAIL); } }
  1674. public const string CN_EMAIL = "email";
  1675. public const string DT_EMAIL = "varchar(320)";
  1676. private String _email;
  1677. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1678. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_org.CN_NAME); } }
  1679. public const string CN_NAME = "name";
  1680. public const string DT_NAME = "nvarchar(50)";
  1681. private String _name;
  1682. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1683. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_org.CN_STATUS_FLAG); } }
  1684. public const string CN_STATUS_FLAG = "status_flag";
  1685. public const string DT_STATUS_FLAG = "int";
  1686. private int? _status_flag;
  1687. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_o__DD701265C9BE813C\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1688. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_org.CN_UID); } }
  1689. public const string CN_UID = "uid";
  1690. public const string DT_UID = "varchar(36)";
  1691. private String _uid;
  1692. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1693. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_org.CN_UPDATE_DATE); } }
  1694. public const string CN_UPDATE_DATE = "update_date";
  1695. public const string DT_UPDATE_DATE = "datetime";
  1696. private DateTime? _update_date;
  1697. public tb_sys_org() : base()
  1698. {
  1699. }
  1700. }
  1701. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_param\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_param_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_param_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_param_paramcatalog\":{\"Pars\":{\"paramcatalog\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_paramcatalog\"},\"FK_tb_sys_param_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_param_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ__tb_sys_p__DD701265D7E07509\",\"Item2\":[\"uid\"]}]}")]
  1702. public class tb_sys_param : EntityBase
  1703. {
  1704. public const string TABLENAME = "GroupBuy.tb_sys_param";
  1705. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_param_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1706. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_param.CN_CREATE_ORG_UID); } }
  1707. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1708. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1709. private String _create_org_uid;
  1710. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_param_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1711. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_param.CN_CREATE_USER_UID); } }
  1712. public const string CN_CREATE_USER_UID = "create_user_uid";
  1713. public const string DT_CREATE_USER_UID = "varchar(36)";
  1714. private String _create_user_uid;
  1715. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"paramcatalog\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_paramcatalog\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_param_paramcatalog\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1716. public String paramcatalog { get { return _paramcatalog;} set { _paramcatalog = value; SetDirty(tb_sys_param.CN_PARAMCATALOG); } }
  1717. public const string CN_PARAMCATALOG = "paramcatalog";
  1718. public const string DT_PARAMCATALOG = "varchar(36)";
  1719. private String _paramcatalog;
  1720. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_param_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1721. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_param.CN_UPDATE_ORG_UID); } }
  1722. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1723. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1724. private String _update_org_uid;
  1725. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_param_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1726. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_param.CN_UPDATE_USER_UID); } }
  1727. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1728. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1729. private String _update_user_uid;
  1730. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1731. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_param.CN_CREATE_DATE); } }
  1732. public const string CN_CREATE_DATE = "create_date";
  1733. public const string DT_CREATE_DATE = "datetime";
  1734. private DateTime? _create_date;
  1735. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1736. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_param.CN_NAME); } }
  1737. public const string CN_NAME = "name";
  1738. public const string DT_NAME = "nvarchar(50)";
  1739. private String _name;
  1740. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"param_value\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1741. public String param_value { get { return _param_value;} set { _param_value = value; SetDirty(tb_sys_param.CN_PARAM_VALUE); } }
  1742. public const string CN_PARAM_VALUE = "param_value";
  1743. public const string DT_PARAM_VALUE = "nvarchar(50)";
  1744. private String _param_value;
  1745. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1746. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_param.CN_REMARK); } }
  1747. public const string CN_REMARK = "remark";
  1748. public const string DT_REMARK = "nvarchar(50)";
  1749. private String _remark;
  1750. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"seq\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1751. public int? seq { get { return _seq;} set { _seq = value; SetDirty(tb_sys_param.CN_SEQ); } }
  1752. public const string CN_SEQ = "seq";
  1753. public const string DT_SEQ = "int";
  1754. private int? _seq;
  1755. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1756. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_param.CN_STATUS_FLAG); } }
  1757. public const string CN_STATUS_FLAG = "status_flag";
  1758. public const string DT_STATUS_FLAG = "int";
  1759. private int? _status_flag;
  1760. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1761. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_sys_param.CN_SYSTEM_FLAG); } }
  1762. public const string CN_SYSTEM_FLAG = "system_flag";
  1763. public const string DT_SYSTEM_FLAG = "int";
  1764. private int? _system_flag;
  1765. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_p__DD701265D7E07509\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1766. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_param.CN_UID); } }
  1767. public const string CN_UID = "uid";
  1768. public const string DT_UID = "nvarchar(50)";
  1769. private String _uid;
  1770. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_param\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1771. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_param.CN_UPDATE_DATE); } }
  1772. public const string CN_UPDATE_DATE = "update_date";
  1773. public const string DT_UPDATE_DATE = "datetime";
  1774. private DateTime? _update_date;
  1775. public tb_sys_param() : base()
  1776. {
  1777. }
  1778. }
  1779. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_paramcatalog_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_paramcatalog_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_paramcatalog_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_paramcatalog_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_paramcatalog\",\"Item2\":[\"name\"]},{\"Item1\":\"UQ__tb_sys_p__DD701265C9B37F66\",\"Item2\":[\"uid\"]}]}")]
  1780. public class tb_sys_paramcatalog : EntityBase
  1781. {
  1782. public const string TABLENAME = "GroupBuy.tb_sys_paramcatalog";
  1783. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_paramcatalog_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1784. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_paramcatalog.CN_CREATE_ORG_UID); } }
  1785. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1786. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1787. private String _create_org_uid;
  1788. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_paramcatalog_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1789. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_paramcatalog.CN_CREATE_USER_UID); } }
  1790. public const string CN_CREATE_USER_UID = "create_user_uid";
  1791. public const string DT_CREATE_USER_UID = "varchar(36)";
  1792. private String _create_user_uid;
  1793. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_paramcatalog_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1794. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_paramcatalog.CN_UPDATE_ORG_UID); } }
  1795. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1796. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1797. private String _update_org_uid;
  1798. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_paramcatalog_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1799. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_paramcatalog.CN_UPDATE_USER_UID); } }
  1800. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1801. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1802. private String _update_user_uid;
  1803. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1804. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_paramcatalog.CN_CREATE_DATE); } }
  1805. public const string CN_CREATE_DATE = "create_date";
  1806. public const string DT_CREATE_DATE = "datetime";
  1807. private DateTime? _create_date;
  1808. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_paramcatalog\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1809. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_paramcatalog.CN_NAME); } }
  1810. public const string CN_NAME = "name";
  1811. public const string DT_NAME = "nvarchar(50)";
  1812. private String _name;
  1813. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1814. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_paramcatalog.CN_REMARK); } }
  1815. public const string CN_REMARK = "remark";
  1816. public const string DT_REMARK = "nvarchar(50)";
  1817. private String _remark;
  1818. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1819. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_paramcatalog.CN_STATUS_FLAG); } }
  1820. public const string CN_STATUS_FLAG = "status_flag";
  1821. public const string DT_STATUS_FLAG = "int";
  1822. private int? _status_flag;
  1823. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1824. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_sys_paramcatalog.CN_SYSTEM_FLAG); } }
  1825. public const string CN_SYSTEM_FLAG = "system_flag";
  1826. public const string DT_SYSTEM_FLAG = "int";
  1827. private int? _system_flag;
  1828. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_p__DD701265C9B37F66\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1829. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_paramcatalog.CN_UID); } }
  1830. public const string CN_UID = "uid";
  1831. public const string DT_UID = "varchar(36)";
  1832. private String _uid;
  1833. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_paramcatalog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1834. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_paramcatalog.CN_UPDATE_DATE); } }
  1835. public const string CN_UPDATE_DATE = "update_date";
  1836. public const string DT_UPDATE_DATE = "datetime";
  1837. private DateTime? _update_date;
  1838. public tb_sys_paramcatalog() : base()
  1839. {
  1840. }
  1841. }
  1842. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_program\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_program_module_id\":{\"Pars\":{\"module_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_module\"},\"FK_tb_sys_program_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_program_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_program_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_program_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_program\",\"Item2\":[\"name\"]},{\"Item1\":\"UQ__tb_sys_p__DD70126535559116\",\"Item2\":[\"uid\"]}]}")]
  1843. public class tb_sys_program : EntityBase
  1844. {
  1845. public const string TABLENAME = "GroupBuy.tb_sys_program";
  1846. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":14,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1847. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_program.CN_CREATE_ORG_UID); } }
  1848. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1849. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1850. private String _create_org_uid;
  1851. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1852. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_program.CN_CREATE_USER_UID); } }
  1853. public const string CN_CREATE_USER_UID = "create_user_uid";
  1854. public const string DT_CREATE_USER_UID = "varchar(36)";
  1855. private String _create_user_uid;
  1856. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"module_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_module\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program_module_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1857. public String module_uid { get { return _module_uid;} set { _module_uid = value; SetDirty(tb_sys_program.CN_MODULE_UID); } }
  1858. public const string CN_MODULE_UID = "module_uid";
  1859. public const string DT_MODULE_UID = "varchar(36)";
  1860. private String _module_uid;
  1861. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":17,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1862. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_program.CN_UPDATE_ORG_UID); } }
  1863. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1864. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1865. private String _update_org_uid;
  1866. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":16,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1867. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_program.CN_UPDATE_USER_UID); } }
  1868. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1869. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1870. private String _update_user_uid;
  1871. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"code\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1872. public String code { get { return _code;} set { _code = value; SetDirty(tb_sys_program.CN_CODE); } }
  1873. public const string CN_CODE = "code";
  1874. public const string DT_CODE = "nvarchar(50)";
  1875. private String _code;
  1876. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1877. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_program.CN_CREATE_DATE); } }
  1878. public const string CN_CREATE_DATE = "create_date";
  1879. public const string DT_CREATE_DATE = "datetime";
  1880. private DateTime? _create_date;
  1881. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"icon\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nchar\",\"CHARACTER_MAXIMUM_LENGTH\":20,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":20,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nchar(20)\",\"DescriptionExtension\":null}")]
  1882. public String icon { get { return _icon;} set { _icon = value; SetDirty(tb_sys_program.CN_ICON); } }
  1883. public const string CN_ICON = "icon";
  1884. public const string DT_ICON = "nchar(20)";
  1885. private String _icon;
  1886. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"memo\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1887. public String memo { get { return _memo;} set { _memo = value; SetDirty(tb_sys_program.CN_MEMO); } }
  1888. public const string CN_MEMO = "memo";
  1889. public const string DT_MEMO = "nvarchar(255)";
  1890. private String _memo;
  1891. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"menudisplay\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"char\",\"CHARACTER_MAXIMUM_LENGTH\":1,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"char(1)\",\"DescriptionExtension\":null}")]
  1892. public String menudisplay { get { return _menudisplay;} set { _menudisplay = value; SetDirty(tb_sys_program.CN_MENUDISPLAY); } }
  1893. public const string CN_MENUDISPLAY = "menudisplay";
  1894. public const string DT_MENUDISPLAY = "char(1)";
  1895. private String _menudisplay;
  1896. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_program\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1897. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_program.CN_NAME); } }
  1898. public const string CN_NAME = "name";
  1899. public const string DT_NAME = "nvarchar(50)";
  1900. private String _name;
  1901. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1902. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_program.CN_REMARK); } }
  1903. public const string CN_REMARK = "remark";
  1904. public const string DT_REMARK = "nvarchar(50)";
  1905. private String _remark;
  1906. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"rout_path\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":\"(N'/404')\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  1907. public String rout_path { get { return _rout_path;} set { _rout_path = value; SetDirty(tb_sys_program.CN_ROUT_PATH); } }
  1908. public const string CN_ROUT_PATH = "rout_path";
  1909. public const string DT_ROUT_PATH = "nvarchar(255)";
  1910. private String _rout_path;
  1911. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"seq\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1000))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1912. public int? seq { get { return _seq;} set { _seq = value; SetDirty(tb_sys_program.CN_SEQ); } }
  1913. public const string CN_SEQ = "seq";
  1914. public const string DT_SEQ = "int";
  1915. private int? _seq;
  1916. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1917. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_program.CN_STATUS_FLAG); } }
  1918. public const string CN_STATUS_FLAG = "status_flag";
  1919. public const string DT_STATUS_FLAG = "int";
  1920. private int? _status_flag;
  1921. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_p__DD70126535559116\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1922. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_program.CN_UID); } }
  1923. public const string CN_UID = "uid";
  1924. public const string DT_UID = "varchar(36)";
  1925. private String _uid;
  1926. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":15,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1927. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_program.CN_UPDATE_DATE); } }
  1928. public const string CN_UPDATE_DATE = "update_date";
  1929. public const string DT_UPDATE_DATE = "datetime";
  1930. private DateTime? _update_date;
  1931. public tb_sys_program() : base()
  1932. {
  1933. }
  1934. }
  1935. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_program2action\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_program2action_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_program2action_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_program2action_tb_sys_program\":{\"Pars\":{\"program_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_program\"},\"FK_tb_sys_program2action_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_program2action_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_program2action\",\"Item2\":[\"uid\"]}]}")]
  1936. public class tb_sys_program2action : EntityBase
  1937. {
  1938. public const string TABLENAME = "GroupBuy.tb_sys_program2action";
  1939. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1940. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_program2action.CN_CREATE_ORG_UID); } }
  1941. public const string CN_CREATE_ORG_UID = "create_org_uid";
  1942. public const string DT_CREATE_ORG_UID = "varchar(36)";
  1943. private String _create_org_uid;
  1944. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1945. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_program2action.CN_CREATE_USER_UID); } }
  1946. public const string CN_CREATE_USER_UID = "create_user_uid";
  1947. public const string DT_CREATE_USER_UID = "varchar(36)";
  1948. private String _create_user_uid;
  1949. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"program_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_program\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_tb_sys_program\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1950. public String program_uid { get { return _program_uid;} set { _program_uid = value; SetDirty(tb_sys_program2action.CN_PROGRAM_UID); } }
  1951. public const string CN_PROGRAM_UID = "program_uid";
  1952. public const string DT_PROGRAM_UID = "varchar(36)";
  1953. private String _program_uid;
  1954. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1955. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_program2action.CN_UPDATE_ORG_UID); } }
  1956. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  1957. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  1958. private String _update_org_uid;
  1959. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1960. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_program2action.CN_UPDATE_USER_UID); } }
  1961. public const string CN_UPDATE_USER_UID = "update_user_uid";
  1962. public const string DT_UPDATE_USER_UID = "varchar(36)";
  1963. private String _update_user_uid;
  1964. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"action_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  1965. public String action_name { get { return _action_name;} set { _action_name = value; SetDirty(tb_sys_program2action.CN_ACTION_NAME); } }
  1966. public const string CN_ACTION_NAME = "action_name";
  1967. public const string DT_ACTION_NAME = "nvarchar(50)";
  1968. private String _action_name;
  1969. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1970. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_program2action.CN_CREATE_DATE); } }
  1971. public const string CN_CREATE_DATE = "create_date";
  1972. public const string DT_CREATE_DATE = "datetime";
  1973. private DateTime? _create_date;
  1974. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"sequence\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1000))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1975. public int? sequence { get { return _sequence;} set { _sequence = value; SetDirty(tb_sys_program2action.CN_SEQUENCE); } }
  1976. public const string CN_SEQUENCE = "sequence";
  1977. public const string DT_SEQUENCE = "int";
  1978. private int? _sequence;
  1979. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  1980. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_program2action.CN_STATUS_FLAG); } }
  1981. public const string CN_STATUS_FLAG = "status_flag";
  1982. public const string DT_STATUS_FLAG = "int";
  1983. private int? _status_flag;
  1984. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_program2action\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  1985. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_program2action.CN_UID); } }
  1986. public const string CN_UID = "uid";
  1987. public const string DT_UID = "varchar(36)";
  1988. private String _uid;
  1989. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  1990. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_program2action.CN_UPDATE_DATE); } }
  1991. public const string CN_UPDATE_DATE = "update_date";
  1992. public const string DT_UPDATE_DATE = "datetime";
  1993. private DateTime? _update_date;
  1994. public tb_sys_program2action() : base()
  1995. {
  1996. }
  1997. }
  1998. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_program2action_grant_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_program2action_grant_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_program2action_grant_program2action_uid\":{\"Pars\":{\"program2action_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_program2action\"},\"FK_tb_sys_program2action_grant_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_program2action_grant_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UX_tb_sys_program2action_grant\",\"Item2\":[\"uid\"]}]}")]
  1999. public class tb_sys_program2action_grant : EntityBase
  2000. {
  2001. public const string TABLENAME = "GroupBuy.tb_sys_program2action_grant";
  2002. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_grant_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2003. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_program2action_grant.CN_CREATE_ORG_UID); } }
  2004. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2005. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2006. private String _create_org_uid;
  2007. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_grant_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2008. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_program2action_grant.CN_CREATE_USER_UID); } }
  2009. public const string CN_CREATE_USER_UID = "create_user_uid";
  2010. public const string DT_CREATE_USER_UID = "varchar(36)";
  2011. private String _create_user_uid;
  2012. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"program2action_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_program2action\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_grant_program2action_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2013. public String program2action_uid { get { return _program2action_uid;} set { _program2action_uid = value; SetDirty(tb_sys_program2action_grant.CN_PROGRAM2ACTION_UID); } }
  2014. public const string CN_PROGRAM2ACTION_UID = "program2action_uid";
  2015. public const string DT_PROGRAM2ACTION_UID = "varchar(36)";
  2016. private String _program2action_uid;
  2017. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_grant_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2018. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_program2action_grant.CN_UPDATE_ORG_UID); } }
  2019. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2020. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2021. private String _update_org_uid;
  2022. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_program2action_grant_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2023. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_program2action_grant.CN_UPDATE_USER_UID); } }
  2024. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2025. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2026. private String _update_user_uid;
  2027. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2028. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_program2action_grant.CN_CREATE_DATE); } }
  2029. public const string CN_CREATE_DATE = "create_date";
  2030. public const string DT_CREATE_DATE = "datetime";
  2031. private DateTime? _create_date;
  2032. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"grant_type\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2033. public String grant_type { get { return _grant_type;} set { _grant_type = value; SetDirty(tb_sys_program2action_grant.CN_GRANT_TYPE); } }
  2034. public const string CN_GRANT_TYPE = "grant_type";
  2035. public const string DT_GRANT_TYPE = "varchar(36)";
  2036. private String _grant_type;
  2037. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"grant_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2038. public String grant_uid { get { return _grant_uid;} set { _grant_uid = value; SetDirty(tb_sys_program2action_grant.CN_GRANT_UID); } }
  2039. public const string CN_GRANT_UID = "grant_uid";
  2040. public const string DT_GRANT_UID = "varchar(36)";
  2041. private String _grant_uid;
  2042. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2043. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_program2action_grant.CN_STATUS_FLAG); } }
  2044. public const string CN_STATUS_FLAG = "status_flag";
  2045. public const string DT_STATUS_FLAG = "int";
  2046. private int? _status_flag;
  2047. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UX_tb_sys_program2action_grant\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2048. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_program2action_grant.CN_UID); } }
  2049. public const string CN_UID = "uid";
  2050. public const string DT_UID = "varchar(36)";
  2051. private String _uid;
  2052. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_program2action_grant\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2053. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_program2action_grant.CN_UPDATE_DATE); } }
  2054. public const string CN_UPDATE_DATE = "update_date";
  2055. public const string DT_UPDATE_DATE = "datetime";
  2056. private DateTime? _update_date;
  2057. public tb_sys_program2action_grant() : base()
  2058. {
  2059. }
  2060. }
  2061. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_role\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_role_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_role_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_role_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_role_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_role\",\"Item2\":[\"name\"]},{\"Item1\":\"UQ__tb_sys_r__DD701265ED18D0C4\",\"Item2\":[\"uid\"]}]}")]
  2062. public class tb_sys_role : EntityBase
  2063. {
  2064. public const string TABLENAME = "GroupBuy.tb_sys_role";
  2065. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2066. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_role.CN_CREATE_ORG_UID); } }
  2067. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2068. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2069. private String _create_org_uid;
  2070. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2071. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_role.CN_CREATE_USER_UID); } }
  2072. public const string CN_CREATE_USER_UID = "create_user_uid";
  2073. public const string DT_CREATE_USER_UID = "varchar(36)";
  2074. private String _create_user_uid;
  2075. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":13,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2076. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_role.CN_UPDATE_ORG_UID); } }
  2077. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2078. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2079. private String _update_org_uid;
  2080. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2081. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_role.CN_UPDATE_USER_UID); } }
  2082. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2083. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2084. private String _update_user_uid;
  2085. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"code\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2086. public String code { get { return _code;} set { _code = value; SetDirty(tb_sys_role.CN_CODE); } }
  2087. public const string CN_CODE = "code";
  2088. public const string DT_CODE = "nvarchar(50)";
  2089. private String _code;
  2090. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2091. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_role.CN_CREATE_DATE); } }
  2092. public const string CN_CREATE_DATE = "create_date";
  2093. public const string DT_CREATE_DATE = "datetime";
  2094. private DateTime? _create_date;
  2095. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"memo\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  2096. public String memo { get { return _memo;} set { _memo = value; SetDirty(tb_sys_role.CN_MEMO); } }
  2097. public const string CN_MEMO = "memo";
  2098. public const string DT_MEMO = "nvarchar(255)";
  2099. private String _memo;
  2100. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_role\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2101. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_role.CN_NAME); } }
  2102. public const string CN_NAME = "name";
  2103. public const string DT_NAME = "nvarchar(50)";
  2104. private String _name;
  2105. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"remark\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2106. public String remark { get { return _remark;} set { _remark = value; SetDirty(tb_sys_role.CN_REMARK); } }
  2107. public const string CN_REMARK = "remark";
  2108. public const string DT_REMARK = "nvarchar(50)";
  2109. private String _remark;
  2110. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2111. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_role.CN_STATUS_FLAG); } }
  2112. public const string CN_STATUS_FLAG = "status_flag";
  2113. public const string DT_STATUS_FLAG = "int";
  2114. private int? _status_flag;
  2115. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2116. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_sys_role.CN_SYSTEM_FLAG); } }
  2117. public const string CN_SYSTEM_FLAG = "system_flag";
  2118. public const string DT_SYSTEM_FLAG = "int";
  2119. private int? _system_flag;
  2120. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_r__DD701265ED18D0C4\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2121. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_role.CN_UID); } }
  2122. public const string CN_UID = "uid";
  2123. public const string DT_UID = "varchar(36)";
  2124. private String _uid;
  2125. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2126. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_role.CN_UPDATE_DATE); } }
  2127. public const string CN_UPDATE_DATE = "update_date";
  2128. public const string DT_UPDATE_DATE = "datetime";
  2129. private DateTime? _update_date;
  2130. public tb_sys_role() : base()
  2131. {
  2132. }
  2133. }
  2134. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_role2org\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_role2org_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_role2org_org_id\":{\"Pars\":{\"org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_role2org_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_role2org_role_id\":{\"Pars\":{\"role_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_role\"},\"FK_tb_sys_role2org_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_role2org_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ__tb_sys_r__DD701265D8603BCB\",\"Item2\":[\"uid\"]}]}")]
  2135. public class tb_sys_role2org : EntityBase
  2136. {
  2137. public const string TABLENAME = "GroupBuy.tb_sys_role2org";
  2138. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role2org_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2139. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_role2org.CN_CREATE_ORG_UID); } }
  2140. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2141. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2142. private String _create_org_uid;
  2143. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role2org_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2144. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_role2org.CN_CREATE_USER_UID); } }
  2145. public const string CN_CREATE_USER_UID = "create_user_uid";
  2146. public const string DT_CREATE_USER_UID = "varchar(36)";
  2147. private String _create_user_uid;
  2148. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role2org_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2149. public String org_uid { get { return _org_uid;} set { _org_uid = value; SetDirty(tb_sys_role2org.CN_ORG_UID); } }
  2150. public const string CN_ORG_UID = "org_uid";
  2151. public const string DT_ORG_UID = "varchar(36)";
  2152. private String _org_uid;
  2153. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"role_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_role\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role2org_role_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2154. public String role_uid { get { return _role_uid;} set { _role_uid = value; SetDirty(tb_sys_role2org.CN_ROLE_UID); } }
  2155. public const string CN_ROLE_UID = "role_uid";
  2156. public const string DT_ROLE_UID = "varchar(36)";
  2157. private String _role_uid;
  2158. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role2org_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2159. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_role2org.CN_UPDATE_ORG_UID); } }
  2160. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2161. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2162. private String _update_org_uid;
  2163. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_role2org_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2164. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_role2org.CN_UPDATE_USER_UID); } }
  2165. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2166. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2167. private String _update_user_uid;
  2168. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2169. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_role2org.CN_CREATE_DATE); } }
  2170. public const string CN_CREATE_DATE = "create_date";
  2171. public const string DT_CREATE_DATE = "datetime";
  2172. private DateTime? _create_date;
  2173. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2174. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_role2org.CN_STATUS_FLAG); } }
  2175. public const string CN_STATUS_FLAG = "status_flag";
  2176. public const string DT_STATUS_FLAG = "int";
  2177. private int? _status_flag;
  2178. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_r__DD701265D8603BCB\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2179. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_role2org.CN_UID); } }
  2180. public const string CN_UID = "uid";
  2181. public const string DT_UID = "varchar(36)";
  2182. private String _uid;
  2183. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_role2org\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2184. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_role2org.CN_UPDATE_DATE); } }
  2185. public const string CN_UPDATE_DATE = "update_date";
  2186. public const string DT_UPDATE_DATE = "datetime";
  2187. private DateTime? _update_date;
  2188. public tb_sys_role2org() : base()
  2189. {
  2190. }
  2191. }
  2192. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_session\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_bse_session_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_bse_session_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_bse_session_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_bse_session_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ__tb_sys_s__DD701265F82973D5\",\"Item2\":[\"uid\"]}]}")]
  2193. public class tb_sys_session : EntityBase
  2194. {
  2195. public const string TABLENAME = "GroupBuy.tb_sys_session";
  2196. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_session_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2197. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_session.CN_CREATE_ORG_UID); } }
  2198. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2199. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2200. private String _create_org_uid;
  2201. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_session_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2202. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_session.CN_CREATE_USER_UID); } }
  2203. public const string CN_CREATE_USER_UID = "create_user_uid";
  2204. public const string DT_CREATE_USER_UID = "varchar(36)";
  2205. private String _create_user_uid;
  2206. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_session_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2207. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_session.CN_UPDATE_ORG_UID); } }
  2208. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2209. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2210. private String _update_org_uid;
  2211. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_bse_session_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2212. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_session.CN_UPDATE_USER_UID); } }
  2213. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2214. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2215. private String _update_user_uid;
  2216. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2217. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_session.CN_CREATE_DATE); } }
  2218. public const string CN_CREATE_DATE = "create_date";
  2219. public const string DT_CREATE_DATE = "datetime";
  2220. private DateTime? _create_date;
  2221. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"role_name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2222. public String role_name { get { return _role_name;} set { _role_name = value; SetDirty(tb_sys_session.CN_ROLE_NAME); } }
  2223. public const string CN_ROLE_NAME = "role_name";
  2224. public const string DT_ROLE_NAME = "nvarchar(50)";
  2225. private String _role_name;
  2226. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_s__DD701265F82973D5\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2227. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_session.CN_UID); } }
  2228. public const string CN_UID = "uid";
  2229. public const string DT_UID = "varchar(36)";
  2230. private String _uid;
  2231. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_session\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2232. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_session.CN_UPDATE_DATE); } }
  2233. public const string CN_UPDATE_DATE = "update_date";
  2234. public const string DT_UPDATE_DATE = "datetime";
  2235. private DateTime? _update_date;
  2236. public tb_sys_session() : base()
  2237. {
  2238. }
  2239. }
  2240. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_system_setting\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_system_setting_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_system_setting_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_system_setting_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_system_setting_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_system_setting\",\"Item2\":[\"name\"]},{\"Item1\":\"IX_tb_sys_system_setting_id\",\"Item2\":[\"uid\"]}]}")]
  2241. public class tb_sys_system_setting : EntityBase
  2242. {
  2243. public const string TABLENAME = "GroupBuy.tb_sys_system_setting";
  2244. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_system_setting_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2245. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_system_setting.CN_CREATE_ORG_UID); } }
  2246. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2247. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2248. private String _create_org_uid;
  2249. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_system_setting_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2250. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_system_setting.CN_CREATE_USER_UID); } }
  2251. public const string CN_CREATE_USER_UID = "create_user_uid";
  2252. public const string DT_CREATE_USER_UID = "varchar(36)";
  2253. private String _create_user_uid;
  2254. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_system_setting_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":12,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2255. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_system_setting.CN_UPDATE_ORG_UID); } }
  2256. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2257. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2258. private String _update_org_uid;
  2259. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_system_setting_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2260. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_system_setting.CN_UPDATE_USER_UID); } }
  2261. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2262. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2263. private String _update_user_uid;
  2264. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2265. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_system_setting.CN_CREATE_DATE); } }
  2266. public const string CN_CREATE_DATE = "create_date";
  2267. public const string DT_CREATE_DATE = "datetime";
  2268. private DateTime? _create_date;
  2269. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"key_value\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  2270. public String key_value { get { return _key_value;} set { _key_value = value; SetDirty(tb_sys_system_setting.CN_KEY_VALUE); } }
  2271. public const string CN_KEY_VALUE = "key_value";
  2272. public const string DT_KEY_VALUE = "nvarchar(255)";
  2273. private String _key_value;
  2274. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"memo\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2275. public String memo { get { return _memo;} set { _memo = value; SetDirty(tb_sys_system_setting.CN_MEMO); } }
  2276. public const string CN_MEMO = "memo";
  2277. public const string DT_MEMO = "nvarchar(50)";
  2278. private String _memo;
  2279. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":20,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_system_setting\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":20,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(20)\",\"DescriptionExtension\":null}")]
  2280. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_system_setting.CN_NAME); } }
  2281. public const string CN_NAME = "name";
  2282. public const string DT_NAME = "nvarchar(20)";
  2283. private String _name;
  2284. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2285. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_system_setting.CN_STATUS_FLAG); } }
  2286. public const string CN_STATUS_FLAG = "status_flag";
  2287. public const string DT_STATUS_FLAG = "int";
  2288. private int? _status_flag;
  2289. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2290. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_sys_system_setting.CN_SYSTEM_FLAG); } }
  2291. public const string CN_SYSTEM_FLAG = "system_flag";
  2292. public const string DT_SYSTEM_FLAG = "int";
  2293. private int? _system_flag;
  2294. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_system_setting_id\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2295. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_system_setting.CN_UID); } }
  2296. public const string CN_UID = "uid";
  2297. public const string DT_UID = "varchar(36)";
  2298. private String _uid;
  2299. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_system_setting\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2300. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_system_setting.CN_UPDATE_DATE); } }
  2301. public const string CN_UPDATE_DATE = "update_date";
  2302. public const string DT_UPDATE_DATE = "datetime";
  2303. private DateTime? _update_date;
  2304. public tb_sys_system_setting() : base()
  2305. {
  2306. }
  2307. }
  2308. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_translation\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_translation_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_translation_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_translation_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_translation_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_translation_1\",\"Item2\":[\"uid\"]},{\"Item1\":\"IX_tb_sys_translation_name\",\"Item2\":[\"language\",\"name\"]}]}")]
  2309. public class tb_sys_translation : EntityBase
  2310. {
  2311. public const string TABLENAME = "GroupBuy.tb_sys_translation";
  2312. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_translation_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2313. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_translation.CN_CREATE_ORG_UID); } }
  2314. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2315. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2316. private String _create_org_uid;
  2317. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_translation_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2318. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_translation.CN_CREATE_USER_UID); } }
  2319. public const string CN_CREATE_USER_UID = "create_user_uid";
  2320. public const string DT_CREATE_USER_UID = "varchar(36)";
  2321. private String _create_user_uid;
  2322. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_translation_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2323. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_translation.CN_UPDATE_ORG_UID); } }
  2324. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2325. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2326. private String _update_org_uid;
  2327. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_translation_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2328. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_translation.CN_UPDATE_USER_UID); } }
  2329. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2330. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2331. private String _update_user_uid;
  2332. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2333. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_translation.CN_CREATE_DATE); } }
  2334. public const string CN_CREATE_DATE = "create_date";
  2335. public const string DT_CREATE_DATE = "datetime";
  2336. private DateTime? _create_date;
  2337. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"language\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":10,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_translation_name\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":10,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(10)\",\"DescriptionExtension\":null}")]
  2338. public String language { get { return _language;} set { _language = value; SetDirty(tb_sys_translation.CN_LANGUAGE); } }
  2339. public const string CN_LANGUAGE = "language";
  2340. public const string DT_LANGUAGE = "nvarchar(10)";
  2341. private String _language;
  2342. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_translation_name\",\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2343. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_translation.CN_NAME); } }
  2344. public const string CN_NAME = "name";
  2345. public const string DT_NAME = "nvarchar(50)";
  2346. private String _name;
  2347. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"trans\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":30,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":30,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":true,\"DataType\":\"nvarchar(30)\",\"DescriptionExtension\":null}")]
  2348. public String trans { get { return _trans;} set { _trans = value; SetDirty(tb_sys_translation.CN_TRANS); } }
  2349. public const string CN_TRANS = "trans";
  2350. public const string DT_TRANS = "nvarchar(30)";
  2351. private String _trans;
  2352. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_translation_1\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2353. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_translation.CN_UID); } }
  2354. public const string CN_UID = "uid";
  2355. public const string DT_UID = "varchar(36)";
  2356. private String _uid;
  2357. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_translation\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2358. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_translation.CN_UPDATE_DATE); } }
  2359. public const string CN_UPDATE_DATE = "update_date";
  2360. public const string DT_UPDATE_DATE = "datetime";
  2361. private DateTime? _update_date;
  2362. public tb_sys_translation() : base()
  2363. {
  2364. }
  2365. }
  2366. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_uploadlog\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_uploadlog_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_uploadlog_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_uploadlog_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_uploadlog_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_uploadlog\",\"Item2\":[\"uid\"]}]}")]
  2367. public class tb_sys_uploadlog : EntityBase
  2368. {
  2369. public const string TABLENAME = "GroupBuy.tb_sys_uploadlog";
  2370. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_uploadlog_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2371. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_uploadlog.CN_CREATE_ORG_UID); } }
  2372. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2373. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2374. private String _create_org_uid;
  2375. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_uploadlog_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2376. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_uploadlog.CN_CREATE_USER_UID); } }
  2377. public const string CN_CREATE_USER_UID = "create_user_uid";
  2378. public const string DT_CREATE_USER_UID = "varchar(36)";
  2379. private String _create_user_uid;
  2380. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_uploadlog_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2381. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_uploadlog.CN_UPDATE_ORG_UID); } }
  2382. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2383. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2384. private String _update_org_uid;
  2385. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_uploadlog_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2386. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_uploadlog.CN_UPDATE_USER_UID); } }
  2387. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2388. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2389. private String _update_user_uid;
  2390. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2391. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_uploadlog.CN_CREATE_DATE); } }
  2392. public const string CN_CREATE_DATE = "create_date";
  2393. public const string DT_CREATE_DATE = "datetime";
  2394. private DateTime? _create_date;
  2395. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"module\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":32,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":32,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"nvarchar(32)\",\"DescriptionExtension\":null}")]
  2396. public String module { get { return _module;} set { _module = value; SetDirty(tb_sys_uploadlog.CN_MODULE); } }
  2397. public const string CN_MODULE = "module";
  2398. public const string DT_MODULE = "nvarchar(32)";
  2399. private String _module;
  2400. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"name\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":64,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":64,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(64)\",\"DescriptionExtension\":null}")]
  2401. public String name { get { return _name;} set { _name = value; SetDirty(tb_sys_uploadlog.CN_NAME); } }
  2402. public const string CN_NAME = "name";
  2403. public const string DT_NAME = "nvarchar(64)";
  2404. private String _name;
  2405. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"path\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":255,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":255,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"nvarchar(255)\",\"DescriptionExtension\":null}")]
  2406. public String path { get { return _path;} set { _path = value; SetDirty(tb_sys_uploadlog.CN_PATH); } }
  2407. public const string CN_PATH = "path";
  2408. public const string DT_PATH = "nvarchar(255)";
  2409. private String _path;
  2410. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2411. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_uploadlog.CN_STATUS_FLAG); } }
  2412. public const string CN_STATUS_FLAG = "status_flag";
  2413. public const string DT_STATUS_FLAG = "int";
  2414. private int? _status_flag;
  2415. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_uploadlog\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2416. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_uploadlog.CN_UID); } }
  2417. public const string CN_UID = "uid";
  2418. public const string DT_UID = "varchar(36)";
  2419. private String _uid;
  2420. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_uploadlog\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2421. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_uploadlog.CN_UPDATE_DATE); } }
  2422. public const string CN_UPDATE_DATE = "update_date";
  2423. public const string DT_UPDATE_DATE = "datetime";
  2424. private DateTime? _update_date;
  2425. public tb_sys_uploadlog() : base()
  2426. {
  2427. }
  2428. }
  2429. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_user\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_user_create_org_uid\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_user_update_org_uid\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_user_create_user_uid\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_user_update_user_uid\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"IX_tb_sys_user_1\",\"Item2\":[\"uid\"]}]}")]
  2430. public class tb_sys_user : EntityBase
  2431. {
  2432. public const string TABLENAME = "GroupBuy.tb_sys_user";
  2433. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user_create_org_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2434. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_user.CN_CREATE_ORG_UID); } }
  2435. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2436. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2437. private String _create_org_uid;
  2438. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user_create_user_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2439. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_user.CN_CREATE_USER_UID); } }
  2440. public const string CN_CREATE_USER_UID = "create_user_uid";
  2441. public const string DT_CREATE_USER_UID = "varchar(36)";
  2442. private String _create_user_uid;
  2443. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user_update_org_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2444. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_user.CN_UPDATE_ORG_UID); } }
  2445. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2446. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2447. private String _update_org_uid;
  2448. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user_update_user_uid\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2449. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_user.CN_UPDATE_USER_UID); } }
  2450. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2451. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2452. private String _update_user_uid;
  2453. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"account\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"nvarchar\",\"CHARACTER_MAXIMUM_LENGTH\":50,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":50,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"nvarchar(50)\",\"DescriptionExtension\":null}")]
  2454. public String account { get { return _account;} set { _account = value; SetDirty(tb_sys_user.CN_ACCOUNT); } }
  2455. public const string CN_ACCOUNT = "account";
  2456. public const string DT_ACCOUNT = "nvarchar(50)";
  2457. private String _account;
  2458. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2459. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_user.CN_CREATE_DATE); } }
  2460. public const string CN_CREATE_DATE = "create_date";
  2461. public const string DT_CREATE_DATE = "datetime";
  2462. private DateTime? _create_date;
  2463. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2464. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_user.CN_STATUS_FLAG); } }
  2465. public const string CN_STATUS_FLAG = "status_flag";
  2466. public const string DT_STATUS_FLAG = "int";
  2467. private int? _status_flag;
  2468. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"system_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((0))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2469. public int? system_flag { get { return _system_flag;} set { _system_flag = value; SetDirty(tb_sys_user.CN_SYSTEM_FLAG); } }
  2470. public const string CN_SYSTEM_FLAG = "system_flag";
  2471. public const string DT_SYSTEM_FLAG = "int";
  2472. private int? _system_flag;
  2473. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"IX_tb_sys_user_1\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2474. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_user.CN_UID); } }
  2475. public const string CN_UID = "uid";
  2476. public const string DT_UID = "varchar(36)";
  2477. private String _uid;
  2478. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2479. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_user.CN_UPDATE_DATE); } }
  2480. public const string CN_UPDATE_DATE = "update_date";
  2481. public const string DT_UPDATE_DATE = "datetime";
  2482. private DateTime? _update_date;
  2483. public tb_sys_user() : base()
  2484. {
  2485. }
  2486. }
  2487. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_user2entercode\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_user2password_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_user2password_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_user2password_user_id\":{\"Pars\":{\"user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ_tb_sys_user2entercode\",\"Item2\":[\"uid\"]}]}")]
  2488. public class tb_sys_user2entercode : EntityBase
  2489. {
  2490. public const string TABLENAME = "GroupBuy.tb_sys_user2entercode";
  2491. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2entercode\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2password_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2492. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_user2entercode.CN_CREATE_ORG_UID); } }
  2493. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2494. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2495. private String _create_org_uid;
  2496. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2entercode\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2password_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2497. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_user2entercode.CN_CREATE_USER_UID); } }
  2498. public const string CN_CREATE_USER_UID = "create_user_uid";
  2499. public const string DT_CREATE_USER_UID = "varchar(36)";
  2500. private String _create_user_uid;
  2501. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2entercode\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2password_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2502. public String user_uid { get { return _user_uid;} set { _user_uid = value; SetDirty(tb_sys_user2entercode.CN_USER_UID); } }
  2503. public const string CN_USER_UID = "user_uid";
  2504. public const string DT_USER_UID = "varchar(36)";
  2505. private String _user_uid;
  2506. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2entercode\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2507. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_user2entercode.CN_CREATE_DATE); } }
  2508. public const string CN_CREATE_DATE = "create_date";
  2509. public const string DT_CREATE_DATE = "datetime";
  2510. private DateTime? _create_date;
  2511. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2entercode\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ_tb_sys_user2entercode\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2512. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_user2entercode.CN_UID); } }
  2513. public const string CN_UID = "uid";
  2514. public const string DT_UID = "varchar(36)";
  2515. private String _uid;
  2516. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2entercode\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"user_entercode\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":256,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":256,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(256)\",\"DescriptionExtension\":null}")]
  2517. public String user_entercode { get { return _user_entercode;} set { _user_entercode = value; SetDirty(tb_sys_user2entercode.CN_USER_ENTERCODE); } }
  2518. public const string CN_USER_ENTERCODE = "user_entercode";
  2519. public const string DT_USER_ENTERCODE = "varchar(256)";
  2520. private String _user_entercode;
  2521. public tb_sys_user2entercode() : base()
  2522. {
  2523. }
  2524. }
  2525. [TableMisc("{\"SOURCE_SQL\":\"MSSQL\",\"TABLE_CATALOG\":\"GroupBuy\",\"TABLE_NAME\":\"tb_sys_user2role\",\"PKColumns\":[],\"ForeignRelations\":{\"FK_tb_sys_user2role_create_org_id\":{\"Pars\":{\"create_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_user2role_update_org_id\":{\"Pars\":{\"update_org_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_org\"},\"FK_tb_sys_user2role_role_id\":{\"Pars\":{\"role_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_role\"},\"FK_tb_sys_user2role_create_user_id\":{\"Pars\":{\"create_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_user2role_update_user_id\":{\"Pars\":{\"update_user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"},\"FK_tb_sys_user2role_user_id\":{\"Pars\":{\"user_uid\":\"uid\"},\"ForeignDisplayColumns\":[],\"ForeignTable\":\"tb_sys_user\"}},\"UniqueIndexes\":[{\"Item1\":\"UQ__tb_sys_u__DD70126517C7C67C\",\"Item2\":[\"uid\"]}]}")]
  2526. public class tb_sys_user2role : EntityBase
  2527. {
  2528. public const string TABLENAME = "GroupBuy.tb_sys_user2role";
  2529. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2role_create_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":7,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2530. public String create_org_uid { get { return _create_org_uid;} set { _create_org_uid = value; SetDirty(tb_sys_user2role.CN_CREATE_ORG_UID); } }
  2531. public const string CN_CREATE_ORG_UID = "create_org_uid";
  2532. public const string DT_CREATE_ORG_UID = "varchar(36)";
  2533. private String _create_org_uid;
  2534. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2role_create_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":6,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2535. public String create_user_uid { get { return _create_user_uid;} set { _create_user_uid = value; SetDirty(tb_sys_user2role.CN_CREATE_USER_UID); } }
  2536. public const string CN_CREATE_USER_UID = "create_user_uid";
  2537. public const string DT_CREATE_USER_UID = "varchar(36)";
  2538. private String _create_user_uid;
  2539. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"role_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_role\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2role_role_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":3,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2540. public String role_uid { get { return _role_uid;} set { _role_uid = value; SetDirty(tb_sys_user2role.CN_ROLE_UID); } }
  2541. public const string CN_ROLE_UID = "role_uid";
  2542. public const string DT_ROLE_UID = "varchar(36)";
  2543. private String _role_uid;
  2544. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_org_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_org\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2role_update_org_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":10,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2545. public String update_org_uid { get { return _update_org_uid;} set { _update_org_uid = value; SetDirty(tb_sys_user2role.CN_UPDATE_ORG_UID); } }
  2546. public const string CN_UPDATE_ORG_UID = "update_org_uid";
  2547. public const string DT_UPDATE_ORG_UID = "varchar(36)";
  2548. private String _update_org_uid;
  2549. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2role_update_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":9,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2550. public String update_user_uid { get { return _update_user_uid;} set { _update_user_uid = value; SetDirty(tb_sys_user2role.CN_UPDATE_USER_UID); } }
  2551. public const string CN_UPDATE_USER_UID = "update_user_uid";
  2552. public const string DT_UPDATE_USER_UID = "varchar(36)";
  2553. private String _update_user_uid;
  2554. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"user_uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":null,\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":true,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":true,\"PK_Table\":\"tb_sys_user\",\"PK_Column\":\"uid\",\"CONSTRAINT_NAME\":\"FK_tb_sys_user2role_user_id\",\"DELETE_RULE\":\"1\",\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":2,\"IsRequireFill\":true,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2555. public String user_uid { get { return _user_uid;} set { _user_uid = value; SetDirty(tb_sys_user2role.CN_USER_UID); } }
  2556. public const string CN_USER_UID = "user_uid";
  2557. public const string DT_USER_UID = "varchar(36)";
  2558. private String _user_uid;
  2559. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"create_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":5,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2560. public DateTime? create_date { get { return _create_date;} set { _create_date = value; SetDirty(tb_sys_user2role.CN_CREATE_DATE); } }
  2561. public const string CN_CREATE_DATE = "create_date";
  2562. public const string DT_CREATE_DATE = "datetime";
  2563. private DateTime? _create_date;
  2564. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"isdefault\",\"IS_NULLABLE\":\"YES\",\"DATA_TYPE\":\"char\",\"CHARACTER_MAXIMUM_LENGTH\":1,\"COLUMN_DEFAULT\":\"('N')\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":true,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":11,\"IsRequireFill\":false,\"DataType\":\"char(1)\",\"DescriptionExtension\":null}")]
  2565. public String isdefault { get { return _isdefault;} set { _isdefault = value; SetDirty(tb_sys_user2role.CN_ISDEFAULT); } }
  2566. public const string CN_ISDEFAULT = "isdefault";
  2567. public const string DT_ISDEFAULT = "char(1)";
  2568. private String _isdefault;
  2569. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"status_flag\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"int\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"((1))\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":true,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":10,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":4,\"IsRequireFill\":false,\"DataType\":\"int\",\"DescriptionExtension\":null}")]
  2570. public int? status_flag { get { return _status_flag;} set { _status_flag = value; SetDirty(tb_sys_user2role.CN_STATUS_FLAG); } }
  2571. public const string CN_STATUS_FLAG = "status_flag";
  2572. public const string DT_STATUS_FLAG = "int";
  2573. private int? _status_flag;
  2574. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"uid\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"varchar\",\"CHARACTER_MAXIMUM_LENGTH\":36,\"COLUMN_DEFAULT\":\"(newid())\",\"DESCRIPTION\":\"\",\"IsUnique\":true,\"IndexName\":\"UQ__tb_sys_u__DD70126517C7C67C\",\"IsRequire\":false,\"IsNullable\":false,\"IsString\":true,\"IsNumber\":false,\"MaxLength\":36,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":1,\"IsRequireFill\":false,\"DataType\":\"varchar(36)\",\"DescriptionExtension\":null}")]
  2575. public String uid { get { return _uid;} set { _uid = value; SetDirty(tb_sys_user2role.CN_UID); } }
  2576. public const string CN_UID = "uid";
  2577. public const string DT_UID = "varchar(36)";
  2578. private String _uid;
  2579. [ColumnMiscAttribute("{\"TABLE_NAME\":\"tb_sys_user2role\",\"TABLE_CATALOG\":\"GroupBuy\",\"COLUMN_NAME\":\"update_date\",\"IS_NULLABLE\":\"NO\",\"DATA_TYPE\":\"datetime\",\"CHARACTER_MAXIMUM_LENGTH\":null,\"COLUMN_DEFAULT\":\"(getdate())\",\"DESCRIPTION\":\"\",\"IsUnique\":false,\"IndexName\":null,\"IsRequire\":false,\"IsNullable\":false,\"IsString\":false,\"IsNumber\":false,\"MaxLength\":-1,\"IsPK\":false,\"IsFK\":false,\"PK_Table\":null,\"PK_Column\":null,\"CONSTRAINT_NAME\":null,\"DELETE_RULE\":null,\"IDENT_SEED\":-1.0,\"IDENT_INCR\":-1.0,\"NUMERIC_PRECISION\":0,\"NUMERIC_SCALE\":0,\"ORDINAL_POSITION\":8,\"IsRequireFill\":false,\"DataType\":\"datetime\",\"DescriptionExtension\":null}")]
  2580. public DateTime? update_date { get { return _update_date;} set { _update_date = value; SetDirty(tb_sys_user2role.CN_UPDATE_DATE); } }
  2581. public const string CN_UPDATE_DATE = "update_date";
  2582. public const string DT_UPDATE_DATE = "datetime";
  2583. private DateTime? _update_date;
  2584. public tb_sys_user2role() : base()
  2585. {
  2586. }
  2587. }