custom.go 28KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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. SigningEndTime string `gorm:"column:signing_end_time" json:"signing_end_time" form:"signing_end_time"`
  251. }
  252. func (KyyChargeContract) TableName() string {
  253. return "kyy_charge_contract"
  254. }
  255. type KyyChargeDemand struct {
  256. ID int64 `gorm:"column:id" json:"id" form:"id"`
  257. DemandType int64 `gorm:"column:demand_type" json:"demand_type" form:"demand_type"`
  258. DemandDesc string `gorm:"column:demand_desc" json:"demand_desc" form:"demand_desc"`
  259. DemandStatus int64 `gorm:"column:demand_status" json:"demand_status" form:"demand_status"`
  260. DemandCreator string `gorm:"column:demand_creator" json:"demand_creator" form:"demand_creator"`
  261. DemandCreateDate string `gorm:"column:demand_create_date" json:"demand_create_date" form:"demand_create_date"`
  262. DemandDirector string `gorm:"column:demand_director" json:"demand_director" form:"demand_director"`
  263. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  264. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  265. Status int64 `gorm:"column:status" json:"status" form:"status"`
  266. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  267. DemandFinishDate string `gorm:"column:demand_finish_date" json:"demand_finish_date" form:"demand_finish_date"`
  268. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  269. DemandDetail string `gorm:"column:demand_detail" json:"demand_detail" form:"demand_detail"`
  270. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  271. }
  272. func (KyyChargeDemand) TableName() string {
  273. return "kyy_charge_demand"
  274. }
  275. type KyyChargeFollow struct {
  276. ID int64 `gorm:"column:id" json:"id" form:"id"`
  277. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  278. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  279. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  280. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  281. Desc string `gorm:"column:desc" json:"desc" form:"desc"`
  282. Status int64 `gorm:"column:status" json:"status" form:"status"`
  283. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  284. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  285. }
  286. func (KyyChargeFollow) TableName() string {
  287. return "kyy_charge_follow"
  288. }
  289. type KyyChargeRenewal struct {
  290. ID int64 `gorm:"column:id" json:"id" form:"id"`
  291. Type int64 `gorm:"column:type" json:"type" form:"type"`
  292. StartTime string `gorm:"column:start_time" json:"start_time" form:"start_time"`
  293. EndTime string `gorm:"column:end_time" json:"end_time" form:"end_time"`
  294. SigningPersonal string `gorm:"column:signing_personal" json:"signing_personal" form:"signing_personal"`
  295. CustomId int64 `gorm:"column:custom_id" json:"custom_id" form:"custom_id"`
  296. SignTime string `gorm:"column:sign_time" json:"sign_time" form:"sign_time"`
  297. CheckPersonal string `gorm:"column:check_personal" json:"check_personal" form:"check_personal"`
  298. Ctime string `gorm:"column:ctime" json:"ctime" form:"ctime"`
  299. Mtime string `gorm:"column:mtime" json:"mtime" form:"mtime"`
  300. Status int64 `gorm:"column:status" json:"status" form:"status"`
  301. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  302. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  303. CheckPerson string `gorm:"column:check_person" json:"check_person" form:"check_person"`
  304. }
  305. func (KyyChargeRenewal) TableName() string {
  306. return "kyy_charge_renewal"
  307. }