vm_models.go 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. package models
  2. type VMOrgPatients struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  5. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  6. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  7. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  8. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  9. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  10. Source int64 `gorm:"column:source" json:"source" form:"source"`
  11. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  12. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  13. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  14. Name string `gorm:"column:name" json:"name" form:"name"`
  15. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  16. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  17. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  18. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  19. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  20. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  21. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  22. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  23. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  24. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  25. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  26. Height int64 `gorm:"column:height" json:"height" form:"height"`
  27. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  28. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  29. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  30. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  31. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  32. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  33. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  34. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  35. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  36. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  37. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  38. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  39. Children int64 `gorm:"column:children" json:"children" form:"children"`
  40. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  41. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  42. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  43. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  44. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  45. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  46. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  47. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  48. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  49. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  50. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  51. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  52. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  53. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  54. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  55. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  56. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  57. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  58. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  59. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  60. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
  61. PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
  62. PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
  63. Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
  64. Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
  65. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
  66. SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
  67. DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
  68. Status int64 `gorm:"column:status" json:"status" form:"status"`
  69. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  70. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  71. DialysisSolutions []DialysisSolution `json:"solutions" gorm:"foreignkey:PatientId"`
  72. Age int64 `gorm:"column:age" json:"age"`
  73. Schedules []Schedule `json:"schedules" gorm:"foreignkey:PatientId"`
  74. Contagions []InfectiousDiseases `json:"contagions" gorm:"foreignkey:PatientId"`
  75. Diseases []ChronicDiseases `json:"diseases" gorm:"foreignkey:PatientId"`
  76. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time"`
  77. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious"`
  78. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle"`
  79. ResponseResult string `gorm:"column:response_result" json:"response_result"`
  80. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  81. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  82. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  83. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  84. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  85. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  86. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  87. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  88. ContagionIds string `json:"contagion_ids" gorm:"-"`
  89. }
  90. func (VMOrgPatients) TableName() string {
  91. return "xt_patients"
  92. }
  93. type VMDeviceGroup struct {
  94. ID int64 `gorm:"column:id" json:"id" form:"id"`
  95. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  96. Name string `gorm:"column:name" json:"name" form:"name"`
  97. Status int64 `gorm:"column:status" json:"status" form:"status"`
  98. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  99. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  100. }
  101. func (VMDeviceGroup) TableName() string {
  102. return "xt_device_group"
  103. }
  104. type VMDeviceZone struct {
  105. ID int64 `gorm:"column:id" json:"id" form:"id"`
  106. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  107. Name string `gorm:"column:name" json:"name" form:"name"`
  108. Type int64 `gorm:"column:type" json:"type" form:"type"`
  109. Status int64 `gorm:"column:status" json:"status" form:"status"`
  110. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  111. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  112. }
  113. func (VMDeviceZone) TableName() string {
  114. return "xt_device_zone"
  115. }
  116. type VMDeviceNumber struct {
  117. ID int64 `gorm:"column:id" json:"id" form:"id"`
  118. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  119. Number string `gorm:"column:number" json:"number" form:"number"`
  120. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  121. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  122. Status int64 `gorm:"column:status" json:"status" form:"status"`
  123. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  124. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  125. }
  126. func (VMDeviceNumber) TableName() string {
  127. return "xt_device_number"
  128. }
  129. type VMSchedule struct {
  130. ID int64 `gorm:"column:id" json:"id" form:"id"`
  131. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  132. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  133. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  134. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  135. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  136. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  137. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  138. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  139. Status int64 `gorm:"column:status" json:"status" form:"status"`
  140. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  141. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  142. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  143. }
  144. func (VMSchedule) TableName() string {
  145. return "xt_schedule"
  146. }
  147. type VMApp_Role struct {
  148. Id int64 `gorm:"PRIMARY_KEY;AUTO_INCREMENT" json:"id"`
  149. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  150. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  151. Org []*Org `gorm:"ForeignKey:ID;AssociationForeignKey:OrgId" json:"orgs"`
  152. }
  153. func (VMApp_Role) TableName() string {
  154. return "sgj_user_admin_role"
  155. }
  156. type VMAdminUser struct {
  157. ID int64 `gorm:"PRIMARY_KEY;AUTO_INCREMENT" json:"id"` // 管理员用户 ID
  158. Org []*Org `gorm:"ForeignKey:Creator;AssociationForeignKey:ID" json:"orgs"`
  159. VMApp_Role []*VMApp_Role `gorm:"ForeignKey:AdminUserId;AssociationForeignKey:ID" json:"roles"`
  160. }
  161. func (VMAdminUser) TableName() string {
  162. return "sgj_user_admin"
  163. }
  164. type VMAdminBanner struct {
  165. ID int64 `gorm:"column:id" json:"id" form:"id"`
  166. Thumb string `gorm:"column:thumb" json:"thumb" form:"thumb"`
  167. Url string `gorm:"column:url" json:"url" form:"url"`
  168. Status int64 `gorm:"column:status" json:"status" form:"status"`
  169. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  170. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  171. Title string `gorm:"column:title" json:"title" form:"title"`
  172. Desc string `gorm:"column:desc" json:"desc" form:"desc"`
  173. }
  174. func (VMAdminBanner) TableName() string {
  175. return "sgj_admin_banner"
  176. }
  177. type VMPatientScheduleTemplateId struct {
  178. ID int64 `gorm:"column:id" json:"id" form:"id"`
  179. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  180. Status int64 `gorm:"column:status" json:"status" form:"status"`
  181. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  182. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  183. }
  184. func (VMPatientScheduleTemplateId) TableName() string {
  185. return "xt_patient_schedule_template_id"
  186. }
  187. type VMPatientScheduleTemplateItem struct {
  188. ID int64 `gorm:"column:id" json:"id" form:"id"`
  189. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  190. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  191. DeviceNumberId int64 `gorm:"column:device_number_id" json:"device_number_id" form:"device_number_id"`
  192. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  193. TreatMode int64 `gorm:"column:treat_mode" json:"treat_mode" form:"treat_mode"`
  194. Weekday int64 `gorm:"column:weekday" json:"weekday" form:"weekday"`
  195. TimeType int64 `gorm:"column:time_type" json:"time_type" form:"time_type"`
  196. Status int64 `gorm:"column:status" json:"status" form:"status"`
  197. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  198. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  199. }
  200. func (VMPatientScheduleTemplateItem) TableName() string {
  201. return "xt_patient_schedule_template_item"
  202. }
  203. type VMPatientScheduleTemplateMode struct {
  204. ID int64 `gorm:"column:id" json:"id" form:"id"`
  205. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  206. Mode int64 `gorm:"column:mode" json:"mode" form:"mode"`
  207. ExecuteTimes int64 `gorm:"column:execute_times" json:"execute_times" form:"execute_times"`
  208. Status int64 `gorm:"column:status" json:"status" form:"status"`
  209. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  210. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  211. Week int64 `gorm:"column:week" json:"-" form:"week"`
  212. }
  213. func (VMPatientScheduleTemplateMode) TableName() string {
  214. return "xt_patient_schedule_template_mode"
  215. }
  216. type VMDeviceMode struct {
  217. ID int64 `gorm:"column:id" json:"id" form:"id"`
  218. DeviceMode string `gorm:"column:device_mode" json:"device_mode" form:"device_mode"`
  219. Status int64 `gorm:"column:status" json:"status" form:"status"`
  220. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  221. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  222. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  223. }
  224. func (VMDeviceMode) TableName() string {
  225. return "xt_device_mode"
  226. }
  227. type VmDeviceAddmacher struct {
  228. ID int64 `gorm:"column:id" json:"id" form:"id"`
  229. SerialNumber string `gorm:"column:serial_number" json:"serial_number" form:"serial_number"`
  230. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  231. BedNumber string `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  232. DeviceName string `gorm:"column:device_name" json:"device_name" form:"device_name"`
  233. ManufactureFactory string `gorm:"column:manufacture_factory" json:"manufacture_factory" form:"manufacture_factory"`
  234. ServiceManufacturer string `gorm:"column:service_manufacturer" json:"service_manufacturer" form:"service_manufacturer"`
  235. UnitType int64 `gorm:"column:unit_type" json:"unit_type" form:"unit_type"`
  236. UseSection string `gorm:"column:use_section" json:"use_section" form:"use_section"`
  237. SectionNumber string `gorm:"column:section_number" json:"section_number" form:"section_number"`
  238. BuyDate int64 `gorm:"column:buy_date" json:"buy_date" form:"buy_date"`
  239. InstallDate int64 `gorm:"column:install_date" json:"install_date" form:"install_date"`
  240. StartDate int64 `gorm:"column:start_date" json:"start_date" form:"start_date"`
  241. MaintenaceEngineer string `gorm:"column:maintenace_engineer" json:"maintenace_engineer" form:"maintenace_engineer"`
  242. Telephone string `gorm:"column:telephone" json:"telephone" form:"telephone"`
  243. GuaranteeDate string `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  244. MachineStatus int64 `gorm:"column:machine_status" json:"machine_status" form:"machine_status"`
  245. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  246. DisinfectionMode int64 `gorm:"column:disinfection_mode" json:"disinfection_mode" form:"disinfection_mode"`
  247. Remarks string `gorm:"column:remarks" json:"remarks" form:"remarks"`
  248. RubbishDate int64 `gorm:"column:rubbish_date" json:"rubbish_date" form:"rubbish_date"`
  249. RubbishReason int64 `gorm:"column:rubbish_reason" json:"rubbish_reason" form:"rubbish_reason"`
  250. UserYear string `gorm:"column:user_year" json:"user_year" form:"user_year"`
  251. WorkTime string `gorm:"column:work_time" json:"work_time" form:"work_time"`
  252. ReversMode int64 `gorm:"column:revers_mode" json:"revers_mode" form:"revers_mode"`
  253. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  254. Status int64 `gorm:"column:status" json:"status" form:"status"`
  255. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  256. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  257. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  258. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  259. }
  260. func (VmDeviceAddmacher) TableName() string {
  261. return "xt_device_addmacher"
  262. }
  263. type VmDeviceTreatmentmode struct {
  264. ID int64 `gorm:"column:id" json:"id" form:"id"`
  265. MachineId int64 `gorm:"column:machine_id" json:"machine_id" form:"machine_id"`
  266. Status int64 `gorm:"column:status" json:"status" form:"status"`
  267. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  268. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  269. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  270. TreateMode int64 `gorm:"column:treate_mode" json:"treate_mode" form:"treate_mode"`
  271. }
  272. func (VmDeviceTreatmentmode) TableName() string {
  273. return "xt_device_treatmentmode"
  274. }
  275. type VMUserRoleAndPurview struct {
  276. ID int64 `gorm:"column:id" json:"id" form:"id"`
  277. RoleName string `gorm:"column:role_name" json:"role_name" form:"role_name"`
  278. RoleIntroduction string `gorm:"column:role_introduction" json:"role_introduction" form:"role_introduction"`
  279. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  280. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  281. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  282. IsSuperAdmin bool `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
  283. Status int64 `gorm:"column:status" json:"status" form:"status"`
  284. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  285. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  286. Number int64 `gorm:"column:number" json:"number" form:"number"`
  287. PurviewIds string `gorm:"-" json:"purview_ids" form:"purview_ids"`
  288. FuncIds string `gorm:"-" json:"func_ids" form:"func_ids"`
  289. IsSystem int64 `gorm:"column:is_system" json:"is_system" form:"is_system"`
  290. }
  291. func (VMUserRoleAndPurview) TableName() string {
  292. return "sgj_user_role"
  293. }
  294. type VMGobalTemplate struct {
  295. ID int64 `gorm:"column:id" json:"id" form:"id"`
  296. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  297. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  298. Status int64 `gorm:"column:status" json:"status" form:"status"`
  299. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  300. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  301. }
  302. func (VMGobalTemplate) TableName() string {
  303. return "xt_gobal_template"
  304. }
  305. type VMGoodsType struct {
  306. ID int64 `gorm:"column:id" json:"id"`
  307. TypeCode string `gorm:"column:type_code" json:"type_code"`
  308. TypeName string `gorm:"column:type_name" json:"type_name"`
  309. Remark string `gorm:"column:remark" json:"remark"`
  310. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  311. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  312. Creater int64 `gorm:"column:creater" json:"creater"`
  313. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  314. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  315. Status int64 `gorm:"column:status" json:"status"`
  316. Type int64 `gorm:"column:type" json:"type"`
  317. Number int64 `gorm:"column:number" json:"number"`
  318. OutStock int64 `gorm:"column:out_stock" json:"out_stock" form:"out_stock"`
  319. }
  320. func (VMGoodsType) TableName() string {
  321. return "xt_goods_type"
  322. }
HTTP/1.0 200 OK Content-Type: text/html; charset=UTF-8 Set-Cookie: i_like_gitea=49dc8e3e3559ea19; Path=/; HttpOnly Set-Cookie: _csrf=hh4YtsS05DZ8SqEV9z4fYd_LXOQ6MTczNTEwNjk5MDgxNjIzNjYwOA%3D%3D; Path=/; Expires=Thu, 26 Dec 2024 06:09:50 GMT; HttpOnly X-Frame-Options: SAMEORIGIN Date: Wed, 25 Dec 2024 06:10:24 GMT zhangbj/sso: sso - 健康互动
sso

apply-1.jpg 3.6KB