custom.go 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. package models
  2. type KyyChargeCustomTwo struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. Name string `gorm:"column:name" json:"name" form:"name"`
  5. XtOrgId int64 `gorm:"column:xt_org_id" json:"xt_org_id" form:"xt_org_id"`
  6. Status int64 `gorm:"column:status" json:"status" form:"status"`
  7. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  8. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  9. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  10. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  11. CustomType int64 `gorm:"column:custom_type" json:"custom_type" form:"custom_type"`
  12. Salesperson string `gorm:"column:salesperson" json:"salesperson" form:"salesperson"`
  13. SignTime string `gorm:"column:sign_time" json:"sign_time" form:"sign_time"`
  14. ContractPrice string `gorm:"column:contract_price" json:"contract_price" form:"contract_price"`
  15. SoftwarePrice string `gorm:"column:software_price" json:"software_price" form:"software_price"`
  16. HardwarePrice string `gorm:"column:hardware_price" json:"hardware_price" form:"hardware_price"`
  17. YearCostPrice string `gorm:"column:year_cost_price" json:"year_cost_price" form:"year_cost_price"`
  18. Address string `gorm:"column:address" json:"address" form:"address"`
  19. IsImplement int64 `gorm:"column:is_implement" json:"is_implement" form:"is_implement"`
  20. LisStatus int64 `gorm:"column:lis_status" json:"lis_status" form:"lis_status"`
  21. LisContact string `gorm:"column:lis_contact" json:"lis_contact" form:"lis_contact"`
  22. LisTime string `gorm:"column:lis_time" json:"lis_time" form:"lis_time"`
  23. LisRemark string `gorm:"column:lis_remark" json:"lis_remark" form:"lis_remark"`
  24. QcStatus int64 `gorm:"column:qc_status" json:"qc_status" form:"qc_status"`
  25. YbStatus int64 `gorm:"column:yb_status" json:"yb_status" form:"yb_status"`
  26. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  27. WeightScaleStatus int64 `gorm:"column:weight_scale_status" json:"weight_scale_status" form:"weight_scale_status"`
  28. WeightScaleBrand string `gorm:"column:weight_scale_brand" json:"weight_scale_brand" form:"weight_scale_brand"`
  29. WeightScaleRemark string `gorm:"column:weight_scale_remark" json:"weight_scale_remark" form:"weight_scale_remark"`
  30. SphygmomanometerStatus int64 `gorm:"column:sphygmomanometer_status" json:"sphygmomanometer_status" form:"sphygmomanometer_status"`
  31. SphygmomanometerBrand string `gorm:"column:sphygmomanometer_brand" json:"sphygmomanometer_brand" form:"sphygmomanometer_brand"`
  32. SphygmomanometerRemark string `gorm:"column:sphygmomanometer_remark" json:"sphygmomanometer_remark" form:"sphygmomanometer_remark"`
  33. ScannerStatus int64 `gorm:"column:scanner_status" json:"scanner_status" form:"scanner_status"`
  34. ScannerBrand string `gorm:"column:scanner_brand" json:"scanner_brand" form:"scanner_brand"`
  35. ScannerRemark string `gorm:"column:scanner_remark" json:"scanner_remark" form:"scanner_remark"`
  36. FacialRecognitionDeviceStatus int64 `gorm:"column:facial_recognition_device_status" json:"facial_recognition_device_status" form:"facial_recognition_device_status"`
  37. FacialRecognitionDeviceBrand string `gorm:"column:facial_recognition_device_brand" json:"facial_recognition_device_brand" form:"facial_recognition_device_brand"`
  38. FacialRecognitionDeviceRemark string `gorm:"column:facial_recognition_device_remark" json:"facial_recognition_device_remark" form:"facial_recognition_device_remark"`
  39. PrinterStatus int64 `gorm:"column:printer_status" json:"printer_status" form:"printer_status"`
  40. PrinterBrand string `gorm:"column:printer_brand" json:"printer_brand" form:"printer_brand"`
  41. PrinterRemark string `gorm:"column:printer_remark" json:"printer_remark" form:"printer_remark"`
  42. HardwareRemark string `gorm:"column:hardware_remark" json:"hardware_remark" form:"hardware_remark"`
  43. ImplementTime string `gorm:"column:implement_time" json:"implement_time" form:"implement_time"`
  44. ImplementPerson string `gorm:"column:implement_person" json:"implement_person" form:"implement_person"`
  45. ImplementRemark string `gorm:"column:implement_remark" json:"implement_remark" form:"implement_remark"`
  46. YbTime string `gorm:"column:yb_time" json:"yb_time" form:"yb_time"`
  47. YbPerson string `gorm:"column:yb_person" json:"yb_person" form:"yb_person"`
  48. YbRemark string `gorm:"column:yb_remark" json:"yb_remark" form:"yb_remark"`
  49. QcTime string `gorm:"column:qc_time" json:"qc_time" form:"qc_time"`
  50. QcPerson string `gorm:"column:qc_person" json:"qc_person" form:"qc_person"`
  51. QcRemark string `gorm:"column:qc_remark" json:"qc_remark" form:"qc_remark"`
  52. ClientRemark string `gorm:"column:client_remark" json:"client_remark" form:"client_remark"`
  53. ToplineTime string `gorm:"column:topline_time" json:"topline_time" form:"topline_time"`
  54. }
  55. func (KyyChargeCustomTwo) TableName() string {
  56. return "kyy_charge_custom"
  57. }
  58. type KyyChargeCustom struct {
  59. ID int64 `gorm:"column:id" json:"id" form:"id"`
  60. Name string `gorm:"column:name" json:"name" form:"name"`
  61. XtOrgId int64 `gorm:"column:xt_org_id" json:"xt_org_id" form:"xt_org_id"`
  62. Status int64 `gorm:"column:status" json:"status" form:"status"`
  63. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  64. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  65. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  66. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  67. CustomType int64 `gorm:"column:custom_type" json:"custom_type" form:"custom_type"`
  68. Salesperson string `gorm:"column:salesperson" json:"salesperson" form:"salesperson"`
  69. SignTime string `gorm:"column:sign_time" json:"sign_time" form:"sign_time"`
  70. ContractPrice string `gorm:"column:contract_price" json:"contract_price" form:"contract_price"`
  71. SoftwarePrice string `gorm:"column:software_price" json:"software_price" form:"software_price"`
  72. HardwarePrice string `gorm:"column:hardware_price" json:"hardware_price" form:"hardware_price"`
  73. YearCostPrice string `gorm:"column:year_cost_price" json:"year_cost_price" form:"year_cost_price"`
  74. Address string `gorm:"column:address" json:"address" form:"address"`
  75. IsImplement int64 `gorm:"column:is_implement" json:"is_implement" form:"is_implement"`
  76. LisStatus int64 `gorm:"column:lis_status" json:"lis_status" form:"lis_status"`
  77. LisContact string `gorm:"column:lis_contact" json:"lis_contact" form:"lis_contact"`
  78. LisTime string `gorm:"column:lis_time" json:"lis_time" form:"lis_time"`
  79. LisRemark string `gorm:"column:lis_remark" json:"lis_remark" form:"lis_remark"`
  80. QcStatus int64 `gorm:"column:qc_status" json:"qc_status" form:"qc_status"`
  81. YbStatus int64 `gorm:"column:yb_status" json:"yb_status" form:"yb_status"`
  82. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  83. WeightScaleStatus int64 `gorm:"column:weight_scale_status" json:"weight_scale_status" form:"weight_scale_status"`
  84. WeightScaleBrand string `gorm:"column:weight_scale_brand" json:"weight_scale_brand" form:"weight_scale_brand"`
  85. WeightScaleRemark string `gorm:"column:weight_scale_remark" json:"weight_scale_remark" form:"weight_scale_remark"`
  86. SphygmomanometerStatus int64 `gorm:"column:sphygmomanometer_status" json:"sphygmomanometer_status" form:"sphygmomanometer_status"`
  87. SphygmomanometerBrand string `gorm:"column:sphygmomanometer_brand" json:"sphygmomanometer_brand" form:"sphygmomanometer_brand"`
  88. SphygmomanometerRemark string `gorm:"column:sphygmomanometer_remark" json:"sphygmomanometer_remark" form:"sphygmomanometer_remark"`
  89. ScannerStatus int64 `gorm:"column:scanner_status" json:"scanner_status" form:"scanner_status"`
  90. ScannerBrand string `gorm:"column:scanner_brand" json:"scanner_brand" form:"scanner_brand"`
  91. ScannerRemark string `gorm:"column:scanner_remark" json:"scanner_remark" form:"scanner_remark"`
  92. FacialRecognitionDeviceStatus int64 `gorm:"column:facial_recognition_device_status" json:"facial_recognition_device_status" form:"facial_recognition_device_status"`
  93. FacialRecognitionDeviceBrand string `gorm:"column:facial_recognition_device_brand" json:"facial_recognition_device_brand" form:"facial_recognition_device_brand"`
  94. FacialRecognitionDeviceRemark string `gorm:"column:facial_recognition_device_remark" json:"facial_recognition_device_remark" form:"facial_recognition_device_remark"`
  95. PrinterStatus int64 `gorm:"column:printer_status" json:"printer_status" form:"printer_status"`
  96. PrinterBrand string `gorm:"column:printer_brand" json:"printer_brand" form:"printer_brand"`
  97. PrinterRemark string `gorm:"column:printer_remark" json:"printer_remark" form:"printer_remark"`
  98. HardwareRemark string `gorm:"column:hardware_remark" json:"hardware_remark" form:"hardware_remark"`
  99. ImplementTime string `gorm:"column:implement_time" json:"implement_time" form:"implement_time"`
  100. ImplementPerson string `gorm:"column:implement_person" json:"implement_person" form:"implement_person"`
  101. ImplementRemark string `gorm:"column:implement_remark" json:"implement_remark" form:"implement_remark"`
  102. YbTime string `gorm:"column:yb_time" json:"yb_time" form:"yb_time"`
  103. YbPerson string `gorm:"column:yb_person" json:"yb_person" form:"yb_person"`
  104. YbRemark string `gorm:"column:yb_remark" json:"yb_remark" form:"yb_remark"`
  105. QcTime string `gorm:"column:qc_time" json:"qc_time" form:"qc_time"`
  106. QcPerson string `gorm:"column:qc_person" json:"qc_person" form:"qc_person"`
  107. QcRemark string `gorm:"column:qc_remark" json:"qc_remark" form:"qc_remark"`
  108. ClientRemark string `gorm:"column:client_remark" json:"client_remark" form:"client_remark"`
  109. ToplineTime string `gorm:"column:topline_time" json:"topline_time" form:"topline_time"`
  110. KyyChargePaymentCollection []*KyyChargePaymentCollection `gorm:"ForeignKey:ID;AssociationForeignKey:CustomId" json:"cpc"`
  111. KyyChargeContact []*KyyChargeContact `gorm:"ForeignKey:ID;AssociationForeignKey:CustomId" json:"cc"`
  112. KyyChargeContract []*KyyChargeContract `gorm:"ForeignKey:ID;AssociationForeignKey:CustomId" json:"chargeContract"`
  113. KyyChargeDemand []*KyyChargeDemand `gorm:"ForeignKey:ID;AssociationForeignKey:CustomId" json:"cd"`
  114. KyyChargeFollow []*KyyChargeFollow `gorm:"ForeignKey:ID;AssociationForeignKey:CustomId" json:"cf"`
  115. KyyChargeRenewal []*KyyChargeRenewal `gorm:"ForeignKey:ID;AssociationForeignKey:CustomId" json:"cr"`
  116. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  117. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  118. }
  119. func (KyyChargeCustom) TableName() string {
  120. return "kyy_charge_custom"
  121. }
  122. type KyyChargeCustomThree struct {
  123. ID int64 `gorm:"column:id" json:"id" form:"id"`
  124. Name string `gorm:"column:name" json:"name" form:"name"`
  125. XtOrgId int64 `gorm:"column:xt_org_id" json:"xt_org_id" form:"xt_org_id"`
  126. Status int64 `gorm:"column:status" json:"status" form:"status"`
  127. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  128. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  129. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  130. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  131. CustomType int64 `gorm:"column:custom_type" json:"custom_type" form:"custom_type"`
  132. Salesperson string `gorm:"column:salesperson" json:"salesperson" form:"salesperson"`
  133. SignTime string `gorm:"column:sign_time" json:"sign_time" form:"sign_time"`
  134. ContractPrice string `gorm:"column:contract_price" json:"contract_price" form:"contract_price"`
  135. SoftwarePrice string `gorm:"column:software_price" json:"software_price" form:"software_price"`
  136. HardwarePrice string `gorm:"column:hardware_price" json:"hardware_price" form:"hardware_price"`
  137. YearCostPrice string `gorm:"column:year_cost_price" json:"year_cost_price" form:"year_cost_price"`
  138. Address string `gorm:"column:address" json:"address" form:"address"`
  139. IsImplement int64 `gorm:"column:is_implement" json:"is_implement" form:"is_implement"`
  140. LisStatus int64 `gorm:"column:lis_status" json:"lis_status" form:"lis_status"`
  141. LisContact string `gorm:"column:lis_contact" json:"lis_contact" form:"lis_contact"`
  142. LisTime string `gorm:"column:lis_time" json:"lis_time" form:"lis_time"`
  143. LisRemark string `gorm:"column:lis_remark" json:"lis_remark" form:"lis_remark"`
  144. QcStatus int64 `gorm:"column:qc_status" json:"qc_status" form:"qc_status"`
  145. YbStatus int64 `gorm:"column:yb_status" json:"yb_status" form:"yb_status"`
  146. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  147. WeightScaleStatus int64 `gorm:"column:weight_scale_status" json:"weight_scale_status" form:"weight_scale_status"`
  148. WeightScaleBrand string `gorm:"column:weight_scale_brand" json:"weight_scale_brand" form:"weight_scale_brand"`
  149. WeightScaleRemark string `gorm:"column:weight_scale_remark" json:"weight_scale_remark" form:"weight_scale_remark"`
  150. SphygmomanometerStatus int64 `gorm:"column:sphygmomanometer_status" json:"sphygmomanometer_status" form:"sphygmomanometer_status"`
  151. SphygmomanometerBrand string `gorm:"column:sphygmomanometer_brand" json:"sphygmomanometer_brand" form:"sphygmomanometer_brand"`
  152. SphygmomanometerRemark string `gorm:"column:sphygmomanometer_remark" json:"sphygmomanometer_remark" form:"sphygmomanometer_remark"`
  153. ScannerStatus int64 `gorm:"column:scanner_status" json:"scanner_status" form:"scanner_status"`
  154. ScannerBrand string `gorm:"column:scanner_brand" json:"scanner_brand" form:"scanner_brand"`
  155. ScannerRemark string `gorm:"column:scanner_remark" json:"scanner_remark" form:"scanner_remark"`
  156. FacialRecognitionDeviceStatus int64 `gorm:"column:facial_recognition_device_status" json:"facial_recognition_device_status" form:"facial_recognition_device_status"`
  157. FacialRecognitionDeviceBrand string `gorm:"column:facial_recognition_device_brand" json:"facial_recognition_device_brand" form:"facial_recognition_device_brand"`
  158. FacialRecognitionDeviceRemark string `gorm:"column:facial_recognition_device_remark" json:"facial_recognition_device_remark" form:"facial_recognition_device_remark"`
  159. PrinterStatus int64 `gorm:"column:printer_status" json:"printer_status" form:"printer_status"`
  160. PrinterBrand string `gorm:"column:printer_brand" json:"printer_brand" form:"printer_brand"`
  161. PrinterRemark string `gorm:"column:printer_remark" json:"printer_remark" form:"printer_remark"`
  162. HardwareRemark string `gorm:"column:hardware_remark" json:"hardware_remark" form:"hardware_remark"`
  163. ImplementTime string `gorm:"column:implement_time" json:"implement_time" form:"implement_time"`
  164. ImplementPerson string `gorm:"column:implement_person" json:"implement_person" form:"implement_person"`
  165. ImplementRemark string `gorm:"column:implement_remark" json:"implement_remark" form:"implement_remark"`
  166. YbTime string `gorm:"column:yb_time" json:"yb_time" form:"yb_time"`
  167. YbPerson string `gorm:"column:yb_person" json:"yb_person" form:"yb_person"`
  168. YbRemark string `gorm:"column:yb_remark" json:"yb_remark" form:"yb_remark"`
  169. QcTime string `gorm:"column:qc_time" json:"qc_time" form:"qc_time"`
  170. QcPerson string `gorm:"column:qc_person" json:"qc_person" form:"qc_person"`
  171. QcRemark string `gorm:"column:qc_remark" json:"qc_remark" form:"qc_remark"`
  172. ClientRemark string `gorm:"column:client_remark" json:"client_remark" form:"client_remark"`
  173. ToplineTime string `gorm:"column:topline_time" json:"topline_time" form:"topline_time"`
  174. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  175. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  176. }
  177. func (KyyChargeCustomThree) TableName() string {
  178. return "kyy_charge_custom"
  179. }
  180. type KyyChargePaymentCollection struct {
  181. ID int64 `gorm:"column:id" json:"id" form:"id"`
  182. XtOrgId int64 `gorm:"column:xt_org_id" json:"xt_org_id" form:"xt_org_id"`
  183. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  184. CustomName string `gorm:"column:custom_name" json:"custom_name" form:"custom_name"`
  185. PaymentCollectionType int64 `gorm:"column:payment_collection_type" json:"payment_collection_type" form:"payment_collection_type"`
  186. PaymentCollectionSumamt string `gorm:"column:payment_collection_sumamt" json:"payment_collection_sumamt" form:"payment_collection_sumamt"`
  187. SoftwareSumamt string `gorm:"column:software_sumamt" json:"software_sumamt" form:"software_sumamt"`
  188. HardwareSumamt string `gorm:"column:hardware_sumamt" json:"hardware_sumamt" form:"hardware_sumamt"`
  189. PaymentCollectionDate string `gorm:"column:payment_collection_date" json:"payment_collection_date" form:"payment_collection_date"`
  190. PaymentCollectionRole string `gorm:"column:payment_collection_role" json:"payment_collection_role" form:"payment_collection_role"`
  191. Url string `gorm:"column:url" json:"url" form:"url"`
  192. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  193. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  194. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  195. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  196. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  197. Status int64 `gorm:"column:status" json:"status" form:"status"`
  198. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  199. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  200. }
  201. func (KyyChargePaymentCollection) TableName() string {
  202. return "kyy_charge_payment_collection"
  203. }
  204. type KyyChargeContact struct {
  205. ID int64 `gorm:"column:id" json:"id" form:"id"`
  206. XtOrgId int64 `gorm:"column:xt_org_id" json:"xt_org_id" form:"xt_org_id"`
  207. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  208. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  209. ContactPhone string `gorm:"column:contact_phone" json:"contact_phone" form:"contact_phone"`
  210. ContactDuties string `gorm:"column:contact_duties" json:"contact_duties" form:"contact_duties"`
  211. IsDecision string `gorm:"column:is_decision" json:"is_decision" form:"is_decision"`
  212. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  213. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  214. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  215. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  216. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  217. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  218. Status int64 `gorm:"column:status" json:"status" form:"status"`
  219. ContactWay string `gorm:"column:contact_way" json:"contact_way" form:"contact_way"`
  220. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  221. }
  222. func (KyyChargeContact) TableName() string {
  223. return "kyy_charge_contact"
  224. }
  225. type KyyChargeContract struct {
  226. ID int64 `gorm:"column:id" json:"id" form:"id"`
  227. XtOrgId int64 `gorm:"column:xt_org_id" json:"xt_org_id" form:"xt_org_id"`
  228. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  229. Code string `gorm:"column:code" json:"code" form:"code"`
  230. Name string `gorm:"column:name" json:"name" form:"name"`
  231. CustomName string `gorm:"column:custom_name" json:"custom_name" form:"custom_name"`
  232. Sumamt string `gorm:"column:sumamt" json:"sumamt" form:"sumamt"`
  233. StartTime string `gorm:"column:start_time" json:"start_time" form:"start_time"`
  234. EndTime string `gorm:"column:end_time" json:"end_time" form:"end_time"`
  235. SigningPerson string `gorm:"column:signing_person" json:"signing_person" form:"signing_person"`
  236. WordFileUrl string `gorm:"column:word_file_url" json:"word_file_url" form:"word_file_url"`
  237. PdfFileUrl string `gorm:"column:pdf_file_url" json:"pdf_file_url" form:"pdf_file_url"`
  238. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  239. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  240. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  241. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  242. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  243. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  244. Status int64 `gorm:"column:status" json:"status" form:"status"`
  245. SigningTime string `gorm:"column:signing_time" json:"signing_time" form:"signing_time"`
  246. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  247. }
  248. func (KyyChargeContract) TableName() string {
  249. return "kyy_charge_contract"
  250. }
  251. type KyyChargeDemand struct {
  252. ID int64 `gorm:"column:id" json:"id" form:"id"`
  253. DemandType int64 `gorm:"column:demand_type" json:"demand_type" form:"demand_type"`
  254. DemandDesc string `gorm:"column:demand_desc" json:"demand_desc" form:"demand_desc"`
  255. DemandStatus int64 `gorm:"column:demand_status" json:"demand_status" form:"demand_status"`
  256. DemandCreator string `gorm:"column:demand_creator" json:"demand_creator" form:"demand_creator"`
  257. DemandCreateDate string `gorm:"column:demand_create_date" json:"demand_create_date" form:"demand_create_date"`
  258. DemandDirector string `gorm:"column:demand_director" json:"demand_director" form:"demand_director"`
  259. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  260. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  261. Status int64 `gorm:"column:status" json:"status" form:"status"`
  262. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  263. DemandFinishDate string `gorm:"column:demand_finish_date" json:"demand_finish_date" form:"demand_finish_date"`
  264. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  265. DemandDetail string `gorm:"column:demand_detail" json:"demand_detail" form:"demand_detail"`
  266. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  267. }
  268. func (KyyChargeDemand) TableName() string {
  269. return "kyy_charge_demand"
  270. }
  271. type KyyChargeFollow struct {
  272. ID int64 `gorm:"column:id" json:"id" form:"id"`
  273. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  274. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  275. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  276. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  277. Desc string `gorm:"column:desc" json:"desc" form:"desc"`
  278. Status int64 `gorm:"column:status" json:"status" form:"status"`
  279. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  280. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  281. }
  282. func (KyyChargeFollow) TableName() string {
  283. return "kyy_charge_follow"
  284. }
  285. type KyyChargeRenewal struct {
  286. ID int64 `gorm:"column:id" json:"id" form:"id"`
  287. Type int64 `gorm:"column:type" json:"type" form:"type"`
  288. StartTime string `gorm:"column:start_time" json:"start_time" form:"start_time"`
  289. EndTime string `gorm:"column:end_time" json:"end_time" form:"end_time"`
  290. SigningPersonal string `gorm:"column:signing_personal" json:"signing_personal" form:"signing_personal"`
  291. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  292. SignTime string `gorm:"column:sign_time" json:"sign_time" form:"sign_time"`
  293. CheckPersonal string `gorm:"column:check_personal" json:"check_personal" form:"check_personal"`
  294. Ctime string `gorm:"column:ctime" json:"ctime" form:"ctime"`
  295. Mtime string `gorm:"column:mtime" json:"mtime" form:"mtime"`
  296. Status int64 `gorm:"column:status" json:"status" form:"status"`
  297. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  298. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  299. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  300. }
  301. func (KyyChargeRenewal) TableName() string {
  302. return "kyy_charge_renewal"
  303. }