custom.go 28KB

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