Advertisement
Guest User

Untitled

a guest
Jun 5th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. Operator:
  2. connection: main
  3. tableName: operator
  4. columns:
  5. id:
  6. type: integer(4)
  7. unsigned: true
  8. primary: true
  9. autoincrement: true
  10. type:
  11. type: integer(4)
  12. name:
  13. type: string(255)
  14. username:
  15. type: string(50)
  16. password:
  17. type: string(40)
  18. available:
  19. type: boolean
  20. tasksperpage:
  21. type: integer(4)
  22. generalquota:
  23. type: integer(4)
  24. unsigned: true
  25. notnull: false
  26. relations:
  27. ClaimedTasks:
  28. type: many
  29. class: Task
  30. local: id
  31. foreign: claimedbyid
  32. onDelete: cascade
  33. CompletedTasks:
  34. type: many
  35. class: Task
  36. local: id
  37. foreign: completedbyid
  38. onDelete: cascade
  39. SkillSets:
  40. class: SkillSet
  41. local: operatorid
  42. foreign: skillsetid
  43. refClass: OperatorSkillSet
  44. onDelete: cascade
  45. Clients:
  46. class: Client
  47. local: operatorid
  48. foreign: clientid
  49. refClass: OperatorClient
  50. onDelete: cascade
  51. Task:
  52. connection: main
  53. tableName: task
  54. columns:
  55. id:
  56. type: integer(4)
  57. unsigned: true
  58. primary: true
  59. autoincrement: true
  60. fileref:
  61. type: string(50)
  62. claimedbyid:
  63. type: integer(4)
  64. unsigned: true
  65. completedbyid:
  66. type: integer(4)
  67. unsigned: true
  68. clientid:
  69. type: integer(4)
  70. unsigned: true
  71. workgroup:
  72. type: string(50)
  73. actioncode:
  74. type: string(50)
  75. createddate:
  76. type: date(25)
  77. duedate:
  78. type: date(25)
  79. tpiname:
  80. type: string(50)
  81. incidentdate:
  82. type: date(25)
  83. polcompleted:
  84. type: boolean
  85. debtor:
  86. type: string(50)
  87. state:
  88. type: string(50)
  89. amountowing:
  90. type: float
  91. createdby:
  92. type: string(50)
  93. relations:
  94. ClaimedBy:
  95. class: Operator
  96. local: claimedbyid
  97. foreign: id
  98. onDelete: cascade
  99. CompletedBy:
  100. class: Operator
  101. local: completedbyid
  102. foreign: id
  103. onDelete: cascade
  104. Action:
  105. class: Action
  106. local: actioncode
  107. foreign: code
  108. onDelete: cascade
  109. Client:
  110. class: Client
  111. local: clientid
  112. foreign: id
  113. onDelete: cascade
  114. OperatorSkillSet:
  115. connection: main
  116. tableName: operatorskillset
  117. columns:
  118. operatorid:
  119. type: integer(4)
  120. unsigned: true
  121. primary: true
  122. skillsetid:
  123. type: integer(4)
  124. unsigned: true
  125. primary: true
  126. quota:
  127. type: integer(4)
  128. unsigned: true
  129. notnull: false
  130. relations:
  131. Operator:
  132. class: Operator
  133. local: operatorid
  134. foreign: id
  135. foreignAlias: OperatorSkillSets
  136. onDelete: cascade
  137. SkillSet:
  138. class: SkillSet
  139. local: skillsetid
  140. foreign: id
  141. foreignAlias: OperatorSkillSets
  142. onDelete: cascade
  143. SkillSet:
  144. connection: main
  145. tableName: skillset
  146. columns:
  147. id:
  148. type: integer(4)
  149. unsigned: true
  150. primary: true
  151. autoincrement: true
  152. name:
  153. type: string(255)
  154. priority:
  155. type: float()
  156. prioritymod:
  157. type: float()
  158. relations:
  159. Actions:
  160. type: many
  161. class: Action
  162. local: id
  163. foreign: skillsetid
  164. onDelete: SET NULL
  165. Operators:
  166. class: Operator
  167. local: skillsetid
  168. foreign: operatorid
  169. refClass: OperatorSkillSet
  170. onDelete: cascade
  171. Action:
  172. connection: main
  173. tableName: action
  174. columns:
  175. code:
  176. type: string(50)
  177. primary: true
  178. skillsetid:
  179. type: integer(4)
  180. unsigned: true
  181. defaultnotation:
  182. type: string(50)
  183. relations:
  184. SkillSet:
  185. class: SkillSet
  186. local: skillsetid
  187. foreign: id
  188. Tasks:
  189. type: many
  190. class: Task
  191. local: code
  192. foreign: actioncode
  193. OperatorClient:
  194. connection: main
  195. tableName: operatorclient
  196. columns:
  197. operatorid:
  198. type: integer(4)
  199. unsigned: true
  200. primary: true
  201. clientid:
  202. type: integer(4)
  203. unsigned: true
  204. primary: true
  205. relations:
  206. Operator:
  207. class: Operator
  208. local: operatorid
  209. foreign: id
  210. foreignAlias: OperatorClients
  211. onDelete: cascade
  212. Client:
  213. class: Client
  214. local: clientid
  215. foreign: id
  216. foreignAlias: OperatorClients
  217. onDelete: cascade
  218. Client:
  219. connection: main
  220. tableName: client
  221. columns:
  222. id:
  223. type: integer(4)
  224. unsigned: true
  225. primary: true
  226. autoincrement: true
  227. name:
  228. type: string(255)
  229. relations:
  230. Operators:
  231. class: Operator
  232. local: clientid
  233. foreign: operatorid
  234. refClass: OperatorClient
  235. onDelete: cascade
  236. Tasks:
  237. type: many
  238. class: Task
  239. local: id
  240. foreign: clientid
  241. onDelete: cascade
  242. OperatorClients:
  243. type: many
  244. class: OperatorClient
  245. local: id
  246. foreign: clientid
  247. onDelete: cascade
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement