place_pro.go 557 B

12345678910111213141516171819
  1. // 自动生成模板PlacePro
  2. package autocode
  3. import (
  4. "github.com/flipped-aurora/gin-vue-admin/server/global"
  5. )
  6. // PlacePro 结构体
  7. // 如果含有time.Time 请自行import time包
  8. type PlacePro struct {
  9. global.GVA_MODEL
  10. PlaceId *int `json:"placeId" form:"placeId" gorm:"column:place_id;comment:站点id;type:bigint"`
  11. PlaceProText string `json:"placeProText" form:"placeProText" gorm:"column:place_pro_text;comment:站点问题;type:varchar(500);"`
  12. }
  13. // TableName PlacePro 表名
  14. func (PlacePro) TableName() string {
  15. return "place_pro"
  16. }