• haoyanbin's avatar
    1 · 9bf9e037
    haoyanbin authored
    9bf9e037
survey.go 1.09 KB
// 自动生成模板DataMedComment
package model

type SurveyUser struct {
	Id             int    `gorm:"type:int(255)" json:"id"`
	SurveyId       int    `gorm:"type:int(255)" json:"survey_id"`
	UserId         int    `gorm:"type:int(255)" json:"user_id"`
	Contacts       string `gorm:"type:string(255)" json:"contacts"`
	ContactsMobile string `gorm:"type:string(255)" json:"contacts_mobile"`
	CreateTime     string `gorm:"type:string(255)" json:"create_time"`
}

type SurveyUserData struct {
	Id           int    `gorm:"type:int(255)" json:"id"`
	SurveyUserId int    `gorm:"type:int(255)" json:"survey_user_id"`
	Option       string `gorm:"type:string(255)" json:"option"`
	OptionValue  string `gorm:"type:string(255)" json:"option_value"`
	OptionNum    int    `gorm:"type:int(255)" json:"option_num"`
	Price        int    `gorm:"type:int(255)" json:"price"`
}

type SurveyLog struct {
	Id         int    `gorm:"type:int(255)" json:"id"`
	UserId     int    `gorm:"type:int(255)" json:"user_id"`
	Page       int    `gorm:"type:int(255)" json:"page"`
	CreateTime string `gorm:"type:string(255)" json:"create_time"`
}