Memberinfo.java 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. /*
  2. * This file is generated by jOOQ.
  3. */
  4. package com.thmodel.jooq.tables;
  5. import com.thmodel.jooq.Indexes;
  6. import com.thmodel.jooq.Keys;
  7. import com.thmodel.jooq.Thmodel;
  8. import com.thmodel.jooq.tables.records.MemberinfoRecord;
  9. import java.math.BigDecimal;
  10. import java.sql.Timestamp;
  11. import java.util.Arrays;
  12. import java.util.List;
  13. import javax.annotation.Generated;
  14. import org.jooq.Field;
  15. import org.jooq.ForeignKey;
  16. import org.jooq.Identity;
  17. import org.jooq.Index;
  18. import org.jooq.Name;
  19. import org.jooq.Record;
  20. import org.jooq.Schema;
  21. import org.jooq.Table;
  22. import org.jooq.TableField;
  23. import org.jooq.UniqueKey;
  24. import org.jooq.impl.DSL;
  25. import org.jooq.impl.TableImpl;
  26. /**
  27. * This class is generated by jOOQ.
  28. */
  29. @Generated(
  30. value = {
  31. "http://www.jooq.org",
  32. "jOOQ version:3.11.5"
  33. },
  34. comments = "This class is generated by jOOQ"
  35. )
  36. @SuppressWarnings({ "all", "unchecked", "rawtypes" })
  37. public class Memberinfo extends TableImpl<MemberinfoRecord> {
  38. private static final long serialVersionUID = -1965956397;
  39. /**
  40. * The reference instance of <code>thmodel.memberinfo</code>
  41. */
  42. public static final Memberinfo MEMBERINFO = new Memberinfo();
  43. /**
  44. * The class holding records for this type
  45. */
  46. @Override
  47. public Class<MemberinfoRecord> getRecordType() {
  48. return MemberinfoRecord.class;
  49. }
  50. /**
  51. * The column <code>thmodel.memberinfo.PK</code>.
  52. */
  53. public final TableField<MemberinfoRecord, Integer> PK = createField("PK", org.jooq.impl.SQLDataType.INTEGER.nullable(false).identity(true), this, "");
  54. /**
  55. * The column <code>thmodel.memberinfo.MembType</code>.
  56. */
  57. public final TableField<MemberinfoRecord, Integer> MEMBTYPE = createField("MembType", org.jooq.impl.SQLDataType.INTEGER, this, "");
  58. /**
  59. * The column <code>thmodel.memberinfo.MembClass</code>.
  60. */
  61. public final TableField<MemberinfoRecord, Integer> MEMBCLASS = createField("MembClass", org.jooq.impl.SQLDataType.INTEGER, this, "");
  62. /**
  63. * The column <code>thmodel.memberinfo.QRCode</code>.
  64. */
  65. public final TableField<MemberinfoRecord, String> QRCODE = createField("QRCode", org.jooq.impl.SQLDataType.VARCHAR(40), this, "");
  66. /**
  67. * The column <code>thmodel.memberinfo.Tel</code>.
  68. */
  69. public final TableField<MemberinfoRecord, String> TEL = createField("Tel", org.jooq.impl.SQLDataType.VARCHAR(20), this, "");
  70. /**
  71. * The column <code>thmodel.memberinfo.Pass</code>.
  72. */
  73. public final TableField<MemberinfoRecord, String> PASS = createField("Pass", org.jooq.impl.SQLDataType.VARCHAR(20), this, "");
  74. /**
  75. * The column <code>thmodel.memberinfo.PayPass</code>.
  76. */
  77. public final TableField<MemberinfoRecord, String> PAYPASS = createField("PayPass", org.jooq.impl.SQLDataType.VARCHAR(20), this, "");
  78. /**
  79. * The column <code>thmodel.memberinfo.Pet</code>.
  80. */
  81. public final TableField<MemberinfoRecord, String> PET = createField("Pet", org.jooq.impl.SQLDataType.VARCHAR(50), this, "");
  82. /**
  83. * The column <code>thmodel.memberinfo.hPhoto</code>.
  84. */
  85. public final TableField<MemberinfoRecord, String> HPHOTO = createField("hPhoto", org.jooq.impl.SQLDataType.VARCHAR(250), this, "");
  86. /**
  87. * The column <code>thmodel.memberinfo.Photo</code>.
  88. */
  89. public final TableField<MemberinfoRecord, String> PHOTO = createField("Photo", org.jooq.impl.SQLDataType.VARCHAR(250), this, "");
  90. /**
  91. * The column <code>thmodel.memberinfo.Area</code>.
  92. */
  93. public final TableField<MemberinfoRecord, Integer> AREA = createField("Area", org.jooq.impl.SQLDataType.INTEGER, this, "");
  94. /**
  95. * The column <code>thmodel.memberinfo.Age</code>.
  96. */
  97. public final TableField<MemberinfoRecord, String> AGE = createField("Age", org.jooq.impl.SQLDataType.VARCHAR(10), this, "");
  98. /**
  99. * The column <code>thmodel.memberinfo.ID</code>.
  100. */
  101. public final TableField<MemberinfoRecord, String> ID = createField("ID", org.jooq.impl.SQLDataType.VARCHAR(20), this, "");
  102. /**
  103. * The column <code>thmodel.memberinfo.IsLive</code>.
  104. */
  105. public final TableField<MemberinfoRecord, Integer> ISLIVE = createField("IsLive", org.jooq.impl.SQLDataType.INTEGER, this, "");
  106. /**
  107. * The column <code>thmodel.memberinfo.MDate</code>.
  108. */
  109. public final TableField<MemberinfoRecord, Timestamp> MDATE = createField("MDate", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
  110. /**
  111. * The column <code>thmodel.memberinfo.token</code>.
  112. */
  113. public final TableField<MemberinfoRecord, String> TOKEN = createField("token", org.jooq.impl.SQLDataType.VARCHAR(200), this, "");
  114. /**
  115. * The column <code>thmodel.memberinfo.acc</code>.
  116. */
  117. public final TableField<MemberinfoRecord, Integer> ACC = createField("acc", org.jooq.impl.SQLDataType.INTEGER, this, "");
  118. /**
  119. * The column <code>thmodel.memberinfo.LastSign</code>.
  120. */
  121. public final TableField<MemberinfoRecord, Timestamp> LASTSIGN = createField("LastSign", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
  122. /**
  123. * The column <code>thmodel.memberinfo.SignDays</code>.
  124. */
  125. public final TableField<MemberinfoRecord, Integer> SIGNDAYS = createField("SignDays", org.jooq.impl.SQLDataType.INTEGER, this, "");
  126. /**
  127. * The column <code>thmodel.memberinfo.IntroducerPK</code>.
  128. */
  129. public final TableField<MemberinfoRecord, Integer> INTRODUCERPK = createField("IntroducerPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
  130. /**
  131. * The column <code>thmodel.memberinfo.identify</code>.
  132. */
  133. public final TableField<MemberinfoRecord, String> IDENTIFY = createField("identify", org.jooq.impl.SQLDataType.VARCHAR(10), this, "");
  134. /**
  135. * The column <code>thmodel.memberinfo.ID_A</code>.
  136. */
  137. public final TableField<MemberinfoRecord, String> ID_A = createField("ID_A", org.jooq.impl.SQLDataType.VARCHAR(250), this, "");
  138. /**
  139. * The column <code>thmodel.memberinfo.ID_B</code>.
  140. */
  141. public final TableField<MemberinfoRecord, String> ID_B = createField("ID_B", org.jooq.impl.SQLDataType.VARCHAR(250), this, "");
  142. /**
  143. * The column <code>thmodel.memberinfo.ID_C</code>.
  144. */
  145. public final TableField<MemberinfoRecord, String> ID_C = createField("ID_C", org.jooq.impl.SQLDataType.VARCHAR(250), this, "");
  146. /**
  147. * The column <code>thmodel.memberinfo.WID</code>.
  148. */
  149. public final TableField<MemberinfoRecord, String> WID = createField("WID", org.jooq.impl.SQLDataType.VARCHAR(30), this, "");
  150. /**
  151. * The column <code>thmodel.memberinfo.coin_A</code>.
  152. */
  153. public final TableField<MemberinfoRecord, BigDecimal> COIN_A = createField("coin_A", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  154. /**
  155. * The column <code>thmodel.memberinfo.coin_IR</code>.
  156. */
  157. public final TableField<MemberinfoRecord, BigDecimal> COIN_IR = createField("coin_IR", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  158. /**
  159. * The column <code>thmodel.memberinfo.coin_IV</code>.
  160. */
  161. public final TableField<MemberinfoRecord, BigDecimal> COIN_IV = createField("coin_IV", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  162. /**
  163. * The column <code>thmodel.memberinfo.coin_IS</code>.
  164. */
  165. public final TableField<MemberinfoRecord, BigDecimal> COIN_IS = createField("coin_IS", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  166. /**
  167. * The column <code>thmodel.memberinfo.coin_IRR</code>.
  168. */
  169. public final TableField<MemberinfoRecord, BigDecimal> COIN_IRR = createField("coin_IRR", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  170. /**
  171. * The column <code>thmodel.memberinfo.coin_IVV</code>.
  172. */
  173. public final TableField<MemberinfoRecord, BigDecimal> COIN_IVV = createField("coin_IVV", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  174. /**
  175. * The column <code>thmodel.memberinfo.coin_ISS</code>.
  176. */
  177. public final TableField<MemberinfoRecord, BigDecimal> COIN_ISS = createField("coin_ISS", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  178. /**
  179. * The column <code>thmodel.memberinfo.coin_ILL</code>.
  180. */
  181. public final TableField<MemberinfoRecord, BigDecimal> COIN_ILL = createField("coin_ILL", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  182. /**
  183. * The column <code>thmodel.memberinfo.coin_I</code>.
  184. */
  185. public final TableField<MemberinfoRecord, BigDecimal> COIN_I = createField("coin_I", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  186. /**
  187. * The column <code>thmodel.memberinfo.coin_OR</code>.
  188. */
  189. public final TableField<MemberinfoRecord, BigDecimal> COIN_OR = createField("coin_OR", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  190. /**
  191. * The column <code>thmodel.memberinfo.coin_OV</code>.
  192. */
  193. public final TableField<MemberinfoRecord, BigDecimal> COIN_OV = createField("coin_OV", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  194. /**
  195. * The column <code>thmodel.memberinfo.coin_OS</code>.
  196. */
  197. public final TableField<MemberinfoRecord, BigDecimal> COIN_OS = createField("coin_OS", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  198. /**
  199. * The column <code>thmodel.memberinfo.coin_OM</code>.
  200. */
  201. public final TableField<MemberinfoRecord, BigDecimal> COIN_OM = createField("coin_OM", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  202. /**
  203. * The column <code>thmodel.memberinfo.coin_O</code>.
  204. */
  205. public final TableField<MemberinfoRecord, BigDecimal> COIN_O = createField("coin_O", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  206. /**
  207. * The column <code>thmodel.memberinfo.coin_OI</code>.
  208. */
  209. public final TableField<MemberinfoRecord, BigDecimal> COIN_OI = createField("coin_OI", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  210. /**
  211. * The column <code>thmodel.memberinfo.coin_OP</code>.
  212. */
  213. public final TableField<MemberinfoRecord, BigDecimal> COIN_OP = createField("coin_OP", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  214. /**
  215. * The column <code>thmodel.memberinfo.Phone</code>.
  216. */
  217. public final TableField<MemberinfoRecord, String> PHONE = createField("Phone", org.jooq.impl.SQLDataType.VARCHAR(15), this, "");
  218. /**
  219. * The column <code>thmodel.memberinfo.coin_IRRR</code>.
  220. */
  221. public final TableField<MemberinfoRecord, BigDecimal> COIN_IRRR = createField("coin_IRRR", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  222. /**
  223. * The column <code>thmodel.memberinfo.coin_IRRRM</code>.
  224. */
  225. public final TableField<MemberinfoRecord, BigDecimal> COIN_IRRRM = createField("coin_IRRRM", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
  226. /**
  227. * The column <code>thmodel.memberinfo.income_ratio_gift</code>.
  228. */
  229. public final TableField<MemberinfoRecord, BigDecimal> INCOME_RATIO_GIFT = createField("income_ratio_gift", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("100.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  230. /**
  231. * The column <code>thmodel.memberinfo.income_ratio_video</code>.
  232. */
  233. public final TableField<MemberinfoRecord, BigDecimal> INCOME_RATIO_VIDEO = createField("income_ratio_video", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("50.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  234. /**
  235. * The column <code>thmodel.memberinfo.income_ratio_service</code>.
  236. */
  237. public final TableField<MemberinfoRecord, BigDecimal> INCOME_RATIO_SERVICE = createField("income_ratio_service", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("70.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  238. /**
  239. * The column <code>thmodel.memberinfo.share_ratio_gift</code>.
  240. */
  241. public final TableField<MemberinfoRecord, BigDecimal> SHARE_RATIO_GIFT = createField("share_ratio_gift", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("0.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  242. /**
  243. * The column <code>thmodel.memberinfo.share_ratio_video</code>.
  244. */
  245. public final TableField<MemberinfoRecord, BigDecimal> SHARE_RATIO_VIDEO = createField("share_ratio_video", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("10.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  246. /**
  247. * The column <code>thmodel.memberinfo.share_ratio_service</code>.
  248. */
  249. public final TableField<MemberinfoRecord, BigDecimal> SHARE_RATIO_SERVICE = createField("share_ratio_service", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("10.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  250. /**
  251. * The column <code>thmodel.memberinfo.broker_ratio_git</code>.
  252. */
  253. public final TableField<MemberinfoRecord, BigDecimal> BROKER_RATIO_GIT = createField("broker_ratio_git", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("0.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  254. /**
  255. * The column <code>thmodel.memberinfo.broker_ratio_video</code>.
  256. */
  257. public final TableField<MemberinfoRecord, BigDecimal> BROKER_RATIO_VIDEO = createField("broker_ratio_video", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("10.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  258. /**
  259. * The column <code>thmodel.memberinfo.broker_ratio_service</code>.
  260. */
  261. public final TableField<MemberinfoRecord, BigDecimal> BROKER_RATIO_SERVICE = createField("broker_ratio_service", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("10.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  262. /**
  263. * The column <code>thmodel.memberinfo.coin_share</code>.
  264. */
  265. public final TableField<MemberinfoRecord, BigDecimal> COIN_SHARE = createField("coin_share", org.jooq.impl.SQLDataType.DECIMAL(18, 4).defaultValue(org.jooq.impl.DSL.inline("0.0000", org.jooq.impl.SQLDataType.DECIMAL)), this, "");
  266. /**
  267. * The column <code>thmodel.memberinfo.can_chat</code>.
  268. */
  269. public final TableField<MemberinfoRecord, Integer> CAN_CHAT = createField("can_chat", org.jooq.impl.SQLDataType.INTEGER.defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.INTEGER)), this, "");
  270. /**
  271. * Create a <code>thmodel.memberinfo</code> table reference
  272. */
  273. public Memberinfo() {
  274. this(DSL.name("memberinfo"), null);
  275. }
  276. /**
  277. * Create an aliased <code>thmodel.memberinfo</code> table reference
  278. */
  279. public Memberinfo(String alias) {
  280. this(DSL.name(alias), MEMBERINFO);
  281. }
  282. /**
  283. * Create an aliased <code>thmodel.memberinfo</code> table reference
  284. */
  285. public Memberinfo(Name alias) {
  286. this(alias, MEMBERINFO);
  287. }
  288. private Memberinfo(Name alias, Table<MemberinfoRecord> aliased) {
  289. this(alias, aliased, null);
  290. }
  291. private Memberinfo(Name alias, Table<MemberinfoRecord> aliased, Field<?>[] parameters) {
  292. super(alias, null, aliased, parameters, DSL.comment(""));
  293. }
  294. public <O extends Record> Memberinfo(Table<O> child, ForeignKey<O, MemberinfoRecord> key) {
  295. super(child, key, MEMBERINFO);
  296. }
  297. /**
  298. * {@inheritDoc}
  299. */
  300. @Override
  301. public Schema getSchema() {
  302. return Thmodel.THMODEL;
  303. }
  304. /**
  305. * {@inheritDoc}
  306. */
  307. @Override
  308. public List<Index> getIndexes() {
  309. return Arrays.<Index>asList(Indexes.MEMBERINFO_INDEX_1, Indexes.MEMBERINFO_INDEX_2, Indexes.MEMBERINFO_INDEX_3, Indexes.MEMBERINFO_INDEX_4, Indexes.MEMBERINFO_INDEX_5, Indexes.MEMBERINFO_PRIMARY);
  310. }
  311. /**
  312. * {@inheritDoc}
  313. */
  314. @Override
  315. public Identity<MemberinfoRecord, Integer> getIdentity() {
  316. return Keys.IDENTITY_MEMBERINFO;
  317. }
  318. /**
  319. * {@inheritDoc}
  320. */
  321. @Override
  322. public UniqueKey<MemberinfoRecord> getPrimaryKey() {
  323. return Keys.KEY_MEMBERINFO_PRIMARY;
  324. }
  325. /**
  326. * {@inheritDoc}
  327. */
  328. @Override
  329. public List<UniqueKey<MemberinfoRecord>> getKeys() {
  330. return Arrays.<UniqueKey<MemberinfoRecord>>asList(Keys.KEY_MEMBERINFO_PRIMARY);
  331. }
  332. /**
  333. * {@inheritDoc}
  334. */
  335. @Override
  336. public Memberinfo as(String alias) {
  337. return new Memberinfo(DSL.name(alias), this);
  338. }
  339. /**
  340. * {@inheritDoc}
  341. */
  342. @Override
  343. public Memberinfo as(Name alias) {
  344. return new Memberinfo(alias, this);
  345. }
  346. /**
  347. * Rename this table
  348. */
  349. @Override
  350. public Memberinfo rename(String name) {
  351. return new Memberinfo(DSL.name(name), null);
  352. }
  353. /**
  354. * Rename this table
  355. */
  356. @Override
  357. public Memberinfo rename(Name name) {
  358. return new Memberinfo(name, null);
  359. }
  360. }