site_models.go 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. package models
  2. //轮播图
  3. type SgjPatientRotation struct {
  4. ID int64 `gorm:"column:id" json:"id" form:"id"`
  5. Title string `gorm:"column:title" json:"title" form:"title"`
  6. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  7. RotationImages string `gorm:"column:rotation_images" json:"rotation_images" form:"rotation_images"`
  8. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  9. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  10. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  11. Status int64 `gorm:"column:status" json:"status" form:"status"`
  12. ModelId int64 `gorm:"column:model_id" json:"model_id" form:"model_id"`
  13. }
  14. func (SgjPatientRotation) TableName() string {
  15. return "sgj_patient_rotation"
  16. }
  17. type SgjPatientModel struct {
  18. ID int64 `gorm:"column:id" json:"id" form:"id"`
  19. Title string `gorm:"column:title" json:"title" form:"title"`
  20. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  21. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  22. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  23. Status int64 `gorm:"column:status" json:"status" form:"status"`
  24. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  25. ModeType int64 `gorm:"column:mode_type" json:"mode_type" form:"mode_type"`
  26. Hospitals SgjPatientHospital `gorm:"ForeignKey:Modleid"`
  27. Offices SgjPatientOffices `gorm:"ForeignKey:Modleid"`
  28. //Doctors SgjPatientDocinfo `gorm:"ForeignKey:Modelid"`
  29. OfficeEnviroment SgjPatientOffenvironment `gorm:"ForeignKey:Modelid"`
  30. Editdoctor []SgjPatientEditdoctor `gorm:"ForeignKey:Modleid"`
  31. //Rotation SgjPatientRotation `gorm:"ForeignKey:ModelId"`
  32. //Macnavigation SgjPatientMacnavigation `gorm:"ForeignKey:Modeid"`
  33. Addactivity SgjPatientAddactivity `gorm:"ForeignKey:Modeid"`
  34. Articlelist SgjPatientArticlelist `gorm:"ForeignKey:Modeid"`
  35. Editmargin []SgjPatientEditmargin `gorm:"ForeignKey:Modeid"`
  36. Enviroimages []SgjPatientEnviroimages `gorm:"ForeignKey:Modeid"`
  37. PatientEditpiclink []SgjPatientEditpiclink `gorm:"ForeignKey:Modeid"`
  38. }
  39. func (SgjPatientModel) TableName() string {
  40. return "sgj_patient_model"
  41. }
  42. type PatientModel struct {
  43. ID int64 `gorm:"column:id" json:"id" form:"id"`
  44. Title string `gorm:"column:title" json:"title" form:"title"`
  45. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  46. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  47. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  48. Status int64 `gorm:"column:status" json:"status" form:"status"`
  49. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  50. ModeType int64 `gorm:"column:mode_type" json:"mode_type" form:"mode_type"`
  51. }
  52. func (PatientModel) TableName() string {
  53. return "sgj_patient_model"
  54. }
  55. //医院介绍
  56. type SgjPatientHospital struct {
  57. ID int64 `gorm:"column:id" json:"id" form:"id"`
  58. Title string `gorm:"column:title" json:"title" form:"title"`
  59. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  60. Introduction string `gorm:"column:introduction" json:"introduction" form:"introduction"`
  61. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  62. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  63. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  64. Status int64 `gorm:"column:status" json:"status" form:"status"`
  65. Modleid int64 `gorm:"column:modleid" json:"modleid" form:"modleid"`
  66. }
  67. func (SgjPatientHospital) TableName() string {
  68. return "sgj_patient_hospital"
  69. }
  70. type SgjPatientEnviroimages struct {
  71. ID int64 `gorm:"column:id" json:"id" form:"id"`
  72. Enviroimages string `gorm:"column:enviroimages" json:"enviroimages" form:"enviroimages"`
  73. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  74. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  75. Status int64 `gorm:"column:status" json:"status" form:"status"`
  76. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  77. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  78. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  79. Imgshow int64 `gorm:"column:imgshow" json:"imgshow" form:"imgshow"`
  80. }
  81. func (SgjPatientEnviroimages) TableName() string {
  82. return "sgj_patient_enviroimages"
  83. }
  84. //科室介绍
  85. type SgjPatientOffices struct {
  86. ID int64 `gorm:"column:id" json:"id" form:"id"`
  87. Title string `gorm:"column:title" json:"title" form:"title"`
  88. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  89. Introduction string `gorm:"column:introduction" json:"introduction" form:"introduction"`
  90. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  91. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  92. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  93. Status int64 `gorm:"column:status" json:"status" form:"status"`
  94. Modleid int64 `gorm:"column:modleid" json:"modelid" form:"modelid"`
  95. }
  96. func (SgjPatientOffices) TableName() string {
  97. return "sgj_patient_offices"
  98. }
  99. //名医介绍
  100. type SgjPatientDocinfo struct {
  101. ID int64 `gorm:"column:id" json:"id" form:"id"`
  102. Title string `gorm:"column:title" json:"title" form:"title"`
  103. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  104. Docimages string `gorm:"column:docimages" json:"docimages" form:"docimages"`
  105. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  106. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  107. Status int64 `gorm:"column:status" json:"status" form:"status"`
  108. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  109. Modelid int64 `gorm:"column:modelid" json:"modelid" form:"modelid"`
  110. }
  111. func (SgjPatientDocinfo) TableName() string {
  112. return "sgj_patient_docinfo"
  113. }
  114. //编辑名医介绍
  115. type SgjPatientEditdoctor struct {
  116. ID int64 `gorm:"column:id" json:"id" form:"id"`
  117. DocPostion int64 `gorm:"column:doc_postion" json:"doc_postion" form:"doc_postion"`
  118. Dochead string `gorm:"column:dochead" json:"dochead" form:"dochead"`
  119. DocSort int64 `gorm:"column:doc_sort" json:"doc_sort" form:"doc_sort"`
  120. Docintroduction string `gorm:"column:docintroduction" json:"docintroduction" form:"docintroduction"`
  121. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  122. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  123. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  124. Status int64 `gorm:"column:status" json:"status" form:"status"`
  125. DocName string `gorm:"column:doc_name" json:"doc_name" form:"doc_name"`
  126. Modleid int64 `gorm:"column:modleid" json:"modleid" form:"modleid"`
  127. ImgShow int64 `gorm:"column:img_show" json:"img_show" form:"img_show"`
  128. }
  129. func (SgjPatientEditdoctor) TableName() string {
  130. return "sgj_patient_editdoctor"
  131. }
  132. // 科室环境
  133. type SgjPatientOffenvironment struct {
  134. ID int64 `gorm:"column:id" json:"id" form:"id"`
  135. Title string `gorm:"column:title" json:"title" form:"title"`
  136. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  137. Keimages string `gorm:"column:keimages" json:"keimages" form:"keimages"`
  138. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  139. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  140. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  141. Status int64 `gorm:"column:status" json:"status" form:"status"`
  142. Modelid int64 `gorm:"column:modelid" json:"modelid" form:"modelid"`
  143. }
  144. func (SgjPatientOffenvironment) TableName() string {
  145. return "sgj_patient_offenvironment"
  146. }
  147. type SgjPatientConnection struct {
  148. ID int64 `gorm:"column:id" json:"id" form:"id"`
  149. Title string `gorm:"column:title" json:"title" form:"title"`
  150. Connecway int64 `gorm:"column:connecway" json:"connecway" form:"connecway"`
  151. Content string `gorm:"column:content" json:"content" form:"content"`
  152. Status int64 `gorm:"column:status" json:"status" form:"status"`
  153. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  154. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  155. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  156. }
  157. func (SgjPatientConnection) TableName() string {
  158. return "sgj_patient_connection"
  159. }
  160. type SgjPatientConnecmodel struct {
  161. ID int64 `gorm:"column:id" json:"id" form:"id"`
  162. Title string `gorm:"column:title" json:"title" form:"title"`
  163. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  164. RotationImages string `gorm:"column:rotation_images" json:"rotation_images" form:"rotation_images"`
  165. HospitalAddress string `gorm:"column:hospital_address" json:"hospital_address" form:"hospital_address"`
  166. HospitalMap string `gorm:"column:hospital_map" json:"hospital_map" form:"hospital_map"`
  167. ConnectionWay string `gorm:"column:connection_way" json:"connection_way" form:"connection_way"`
  168. Worktime string `gorm:"column:worktime" json:"worktime" form:"worktime"`
  169. Rideway string `gorm:"column:rideway" json:"rideway" form:"rideway"`
  170. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  171. Status int64 `gorm:"column:status" json:"status" form:"status"`
  172. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  173. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  174. ModeType int64 `gorm:"column:mode_type" json:"mode_type" form:"mode_type"`
  175. }
  176. func (SgjPatientConnecmodel) TableName() string {
  177. return "sgj_patient_connecmodel"
  178. }
  179. type SgjPatientNewmodel struct {
  180. ID int64 `gorm:"column:id" json:"id" form:"id"`
  181. Title string `gorm:"column:title" json:"title" form:"title"`
  182. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  183. RotationImages string `gorm:"column:rotation_images" json:"rotation_images" form:"rotation_images"`
  184. HospitalIntroduction string `gorm:"column:hospital_introduction" json:"hospital_introduction" form:"hospital_introduction"`
  185. OfficeIntroduction string `gorm:"column:office_introduction" json:"office_introduction" form:"office_introduction"`
  186. DoctorImages string `gorm:"column:doctor_images" json:"doctor_images" form:"doctor_images"`
  187. OfficeImages string `gorm:"column:office_images" json:"office_images" form:"office_images"`
  188. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  189. Status int64 `gorm:"column:status" json:"status" form:"status"`
  190. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  191. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  192. Docname string `gorm:"column:docname" json:"docname" form:"docname"`
  193. Dochead string `gorm:"column:dochead" json:"dochead" form:"dochead"`
  194. DocPositional string `gorm:"column:doc_positional" json:"doc_positional" form:"doc_positional"`
  195. DocIntroduction string `gorm:"column:doc_introduction" json:"doc_introduction" form:"doc_introduction"`
  196. }
  197. func (SgjPatientNewmodel) TableName() string {
  198. return "sgj_patient_newmodel"
  199. }
  200. type SgjPatientNavigation struct {
  201. ID int64 `gorm:"column:id" json:"id" form:"id"`
  202. Navtitle string `gorm:"column:navtitle" json:"navtitle" form:"navtitle"`
  203. Navimages string `gorm:"column:navimages" json:"navimages" form:"navimages"`
  204. Jumpset int64 `gorm:"column:jumpset" json:"jumpset" form:"jumpset"`
  205. Navaddress string `gorm:"column:navaddress" json:"navaddress" form:"navaddress"`
  206. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  207. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  208. Status int64 `gorm:"column:status" json:"status" form:"status"`
  209. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  210. Linkid int64 `gorm:"column:linkid" json:"linkid" form:"linkid"`
  211. Nonavimages string `gorm:"column:nonavimages" json:"nonavimages" form:"nonavimages"`
  212. Linktype int64 `gorm:"column:linktype" json:"linktype" form:"linktype"`
  213. }
  214. func (SgjPatientNavigation) TableName() string {
  215. return "sgj_patient_navigation"
  216. }
  217. type SgjPatientShare struct {
  218. ID int64 `gorm:"column:id" json:"id" form:"id"`
  219. ShareTitle string `gorm:"column:share_title" json:"share_title" form:"share_title"`
  220. ShareIntroduction string `gorm:"column:share_introduction" json:"share_introduction" form:"share_introduction"`
  221. ShareImages string `gorm:"column:share_images" json:"share_images" form:"share_images"`
  222. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  223. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  224. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  225. Status int64 `gorm:"column:status" json:"status" form:"status"`
  226. }
  227. func (SgjPatientShare) TableName() string {
  228. return "sgj_patient_share"
  229. }
  230. type SgjPatientOrdmodel struct {
  231. ID int64 `gorm:"column:id" json:"id" form:"id"`
  232. Title string `gorm:"column:title" json:"title" form:"title"`
  233. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  234. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  235. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  236. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  237. Status int64 `gorm:"column:status" json:"status" form:"status"`
  238. ModeType int64 `gorm:"column:mode_type" json:"mode_type" form:"mode_type"`
  239. Hosaddress SgjPatientHosaddress `gorm:"ForeignKey:Modeid"`
  240. Connectway SgjPatientConnectway `gorm:"ForeignKey:ModeId"`
  241. Worktime SgjPatientWorktime `gorm:"ForeignKey:ModeId"`
  242. Rideway SgjPatientRideway `gorm:"ForeignKey:ModeId"`
  243. Oldration SgjPatientOldrotation `gorm:"ForeignKey:ModeId"`
  244. Conrotation []SgjPatientConrotation `gorm:"ForeignKey:Modeid"`
  245. }
  246. func (SgjPatientOrdmodel) TableName() string {
  247. return "sgj_patient_ordmodel"
  248. }
  249. type SgjPatientConnectway struct {
  250. ID int64 `gorm:"column:id" json:"id" form:"id"`
  251. Title string `gorm:"column:title" json:"title" form:"title"`
  252. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  253. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  254. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  255. Status int64 `gorm:"column:status" json:"status" form:"status"`
  256. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  257. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  258. }
  259. func (SgjPatientConnectway) TableName() string {
  260. return "sgj_patient_connectway"
  261. }
  262. type SgjPatientWorktime struct {
  263. ID int64 `gorm:"column:id" json:"id" form:"id"`
  264. Title string `gorm:"column:title" json:"title" form:"title"`
  265. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  266. Worktime string `gorm:"column:worktime" json:"worktime" form:"worktime"`
  267. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  268. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  269. Status int64 `gorm:"column:status" json:"status" form:"status"`
  270. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  271. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  272. }
  273. func (SgjPatientWorktime) TableName() string {
  274. return "sgj_patient_worktime"
  275. }
  276. type SgjPatientRideway struct {
  277. ID int64 `gorm:"column:id" json:"id" form:"id"`
  278. Title string `gorm:"column:title" json:"title" form:"title"`
  279. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  280. RideWay string `gorm:"column:ride_way" json:"ride_way" form:"ride_way"`
  281. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  282. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  283. Status int64 `gorm:"column:status" json:"status" form:"status"`
  284. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  285. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  286. }
  287. func (SgjPatientRideway) TableName() string {
  288. return "sgj_patient_rideway"
  289. }
  290. type SgjPatientConrotation struct {
  291. ID int64 `gorm:"column:id" json:"id" form:"id"`
  292. Images string `gorm:"column:images" json:"images" form:"images"`
  293. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  294. Piclink int64 `gorm:"column:piclink" json:"piclink" form:"piclink"`
  295. Linkaddress string `gorm:"column:linkaddress" json:"linkaddress" form:"linkaddress"`
  296. Status int64 `gorm:"column:status" json:"status" form:"status"`
  297. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  298. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  299. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  300. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  301. ImgShow int64 `gorm:"column:img_show" json:"img_show" form:"img_show"`
  302. Linkid int64 `gorm:"column:linkid" json:"linkid" form:"linkid"`
  303. }
  304. func (SgjPatientConrotation) TableName() string {
  305. return "sgj_patient_conrotation"
  306. }
  307. type SgjPatientOldrotation struct {
  308. ID int64 `gorm:"column:id" json:"id" form:"id"`
  309. Title string `gorm:"column:title" json:"title" form:"title"`
  310. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  311. RotationImages string `gorm:"column:rotation_images" json:"rotation_images" form:"rotation_images"`
  312. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  313. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  314. Status int64 `gorm:"column:status" json:"status" form:"status"`
  315. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  316. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  317. }
  318. func (SgjPatientOldrotation) TableName() string {
  319. return "sgj_patient_oldrotation"
  320. }
  321. type SgjPatientEditpiclink struct {
  322. ID int64 `gorm:"column:id" json:"id" form:"id"`
  323. Images string `gorm:"column:images" json:"images" form:"images"`
  324. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  325. Piclink int64 `gorm:"column:piclink" json:"piclink" form:"piclink"`
  326. Linkaddress string `gorm:"column:linkaddress" json:"linkaddress" form:"linkaddress"`
  327. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  328. Status int64 `gorm:"column:status" json:"status" form:"status"`
  329. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  330. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  331. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  332. ImgShow int64 `gorm:"column:img_show" json:"img_show" form:"img_show"`
  333. Linkid int64 `gorm:"column:linkid" json:"linkid" form:"linkid"`
  334. }
  335. func (SgjPatientEditpiclink) TableName() string {
  336. return "sgj_patient_editpiclink"
  337. }
  338. type SgjPatientEditmargin struct {
  339. ID int64 `gorm:"column:id" json:"id" form:"id"`
  340. Margtitle string `gorm:"column:margtitle" json:"margtitle" form:"margtitle"`
  341. Margimage string `gorm:"column:margimage" json:"margimage" form:"margimage"`
  342. Marginaddress string `gorm:"column:marginaddress" json:"marginaddress" form:"marginaddress"`
  343. Jumpset int64 `gorm:"column:jumpset" json:"jumpset" form:"jumpset"`
  344. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  345. Status int64 `gorm:"column:status" json:"status" form:"status"`
  346. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  347. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  348. ImgShow int64 `gorm:"column:img_show" json:"img_show" form:"img_show"`
  349. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  350. Linkid int64 `gorm:"column:linkid" json:"linkid" form:"linkid"`
  351. }
  352. func (SgjPatientEditmargin) TableName() string {
  353. return "sgj_patient_editmargin"
  354. }
  355. type SgjPatientMacnavigation struct {
  356. ID int64 `gorm:"column:id" json:"id" form:"id"`
  357. Title string `gorm:"column:title" json:"title" form:"title"`
  358. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  359. MacImages string `gorm:"column:mac_images" json:"mac_images" form:"mac_images"`
  360. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  361. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  362. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  363. Status int64 `gorm:"column:status" json:"status" form:"status"`
  364. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  365. MacTitles string `gorm:"column:mac_titles" json:"mac_titles" form:"mac_titles"`
  366. }
  367. func (SgjPatientMacnavigation) TableName() string {
  368. return "sgj_patient_macnavigation"
  369. }
  370. type SgjPatientHosaddress struct {
  371. ID int64 `gorm:"column:id" json:"id" form:"id"`
  372. Title string `gorm:"column:title" json:"title" form:"title"`
  373. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  374. Address string `gorm:"column:address" json:"address" form:"address"`
  375. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  376. Status int64 `gorm:"column:status" json:"status" form:"status"`
  377. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  378. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  379. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  380. }
  381. func (SgjPatientHosaddress) TableName() string {
  382. return "sgj_patient_hosaddress"
  383. }
  384. type SgjPatientAddactivity struct {
  385. ID int64 `gorm:"column:id" json:"id" form:"id"`
  386. Title string `gorm:"column:title" json:"title" form:"title"`
  387. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  388. Number int64 `gorm:"column:number" json:"number" form:"number"`
  389. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  390. Status int64 `gorm:"column:status" json:"status" form:"status"`
  391. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  392. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  393. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  394. }
  395. func (SgjPatientAddactivity) TableName() string {
  396. return "sgj_patient_addactivity"
  397. }
  398. type SgjPatientArticlelist struct {
  399. ID int64 `gorm:"column:id" json:"id" form:"id"`
  400. Title string `gorm:"column:title" json:"title" form:"title"`
  401. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  402. Category int64 `gorm:"column:category" json:"category" form:"category"`
  403. Categoryone int64 `gorm:"column:categoryone" json:"categoryone" form:"categoryone"`
  404. Number int64 `gorm:"column:number" json:"number" form:"number"`
  405. Status int64 `gorm:"column:status" json:"status" form:"status"`
  406. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  407. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  408. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  409. Modeid int64 `gorm:"column:modeid" json:"modeid" form:"modeid"`
  410. }
  411. func (SgjPatientArticlelist) TableName() string {
  412. return "sgj_patient_articlelist"
  413. }
  414. type SgjPatientLinkaddress struct {
  415. ID int64 `gorm:"column:id" json:"id" form:"id"`
  416. Defineaddress string `gorm:"column:defineaddress" json:"defineaddress" form:"defineaddress"`
  417. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  418. Status int64 `gorm:"column:status" json:"status" form:"status"`
  419. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  420. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  421. }
  422. func (SgjPatientLinkaddress) TableName() string {
  423. return "sgj_patient_linkaddress"
  424. }
  425. type SgjPatientConlinkaddress struct {
  426. ID int64 `gorm:"column:id" json:"id" form:"id"`
  427. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  428. Defineaddress string `gorm:"column:defineaddress" json:"defineaddress" form:"defineaddress"`
  429. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  430. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  431. Status int64 `gorm:"column:status" json:"status" form:"status"`
  432. }
  433. func (SgjPatientConlinkaddress) TableName() string {
  434. return "sgj_patient_conlinkaddress"
  435. }
  436. type SgjPatientMagiclink struct {
  437. ID int64 `gorm:"column:id" json:"id" form:"id"`
  438. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  439. Linktype int64 `gorm:"column:linktype" json:"linktype" form:"linktype"`
  440. Instationlink int64 `gorm:"column:instationlink" json:"instationlink" form:"instationlink"`
  441. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  442. Outstationlink string `gorm:"column:outstationlink" json:"outstationlink" form:"outstationlink"`
  443. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  444. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  445. Status int64 `gorm:"column:status" json:"status" form:"status"`
  446. Linkaddress string `gorm:"column:linkaddress" json:"linkaddress" form:"linkaddress"`
  447. }
  448. func (SgjPatientMagiclink) TableName() string {
  449. return "sgj_patient_magiclink"
  450. }
  451. type PatientNavgationlink struct {
  452. ID int64 `gorm:"column:id" json:"id" form:"id"`
  453. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  454. Outstationlink string `gorm:"column:outstationlink" json:"outstationlink" form:"outstationlink"`
  455. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  456. Status int64 `gorm:"column:status" json:"status" form:"status"`
  457. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  458. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  459. Linkaddress string `gorm:"column:linkaddress" json:"linkaddress" form:"linkaddress"`
  460. Instationlink int64 `gorm:"column:instationlink" json:"instationlink" form:"instationlink"`
  461. Linktype int64 `gorm:"column:linktype" json:"linktype" form:"linktype"`
  462. Navitionlinktype int64 `gorm:"column:navitionlinktype" json:"navitionlinktype" form:"navitionlinktype"`
  463. }
  464. func (PatientNavgationlink) TableName() string {
  465. return "sgj_patient_navgationlink"
  466. }
  467. type OrgInfo struct {
  468. ID int64
  469. OrgIntroduction string
  470. Telephone string
  471. Address string
  472. }