Merge branch 'feat-hjj-QuestionnaireSurvey' into dev
This commit is contained in:
commit
e77763b6ae
@ -8,23 +8,23 @@ import (
|
|||||||
|
|
||||||
type QuestionnaireSurvey struct {
|
type QuestionnaireSurvey struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
SurveyUUID string `gorm:"column:survey_uuid;not null;comment:问卷UUID" json:"survey_uuid"`
|
SurveyUUID string `gorm:"column:survey_uuid;comment:问卷UUID" json:"survey_uuid"`
|
||||||
UserId int `gorm:"column:user_id;not null;comment:用户ID" json:"user_id"`
|
UserId int `gorm:"column:user_id;comment:用户ID" json:"user_id"`
|
||||||
UserNum string `gorm:"column:user_num;not null;comment:用户编号" json:"user_num"`
|
UserNum string `gorm:"column:user_num;comment:用户编号" json:"user_num"`
|
||||||
UserName string `gorm:"column:user_name;not null;comment:用户姓名" json:"user_name"`
|
UserName string `gorm:"column:user_name;comment:用户姓名" json:"user_name"`
|
||||||
UserTel string `gorm:"column:user_tel;not null;comment:用户电话" json:"user_tel"`
|
UserTel string `gorm:"column:user_tel;comment:用户电话" json:"user_tel"`
|
||||||
OrderUUID string `gorm:"column:order_uuid;not null;comment:订单UUID" json:"order_uuid"`
|
OrderUUID string `gorm:"column:order_uuid;comment:订单UUID" json:"order_uuid"`
|
||||||
SendTime time.Time `gorm:"column:send_time;not null;comment:发送时间" json:"send_time"`
|
SendTime time.Time `gorm:"column:send_time;comment:发送时间" json:"send_time"`
|
||||||
SubmitTime time.Time `gorm:"column:submit_time;not null;comment:提交时间" json:"submit_time"`
|
SubmitTime time.Time `gorm:"column:submit_time;comment:提交时间" json:"submit_time"`
|
||||||
SurveyTitle string `gorm:"column:survey_title;not null;comment:问卷标题" json:"survey_title"`
|
SurveyTitle string `gorm:"column:survey_title;comment:问卷标题" json:"survey_title"`
|
||||||
SurveyStatus int `gorm:"column:survey_status;not null;comment:问卷状态 1:已发送 2:已提交" json:"survey_status"`
|
SurveyStatus int `gorm:"column:survey_status;comment:问卷状态 1:已发送 2:已提交" json:"survey_status"`
|
||||||
BundleInfo string `gorm:"column:bundle_info;not null;comment:套餐信息" json:"bundle_info"`
|
BundleInfo string `gorm:"column:bundle_info;comment:套餐信息" json:"bundle_info"`
|
||||||
SurveyAnswer string `gorm:"column:survey_answer;not null;comment:问卷答案" json:"survey_answer"`
|
SurveyAnswer string `gorm:"column:survey_answer;comment:问卷答案" json:"survey_answer"`
|
||||||
MeritsReview string `gorm:"column:merits_review;not null;comment:优点评价" json:"merits_review"`
|
MeritsReview string `gorm:"column:merits_review;comment:优点评价" json:"merits_review"`
|
||||||
SuggestionsorImprovements string `gorm:"column:suggestionsor_improvements;not null;comment:改进建议" json:"suggestionsor_improvements"`
|
SuggestionsorImprovements string `gorm:"column:suggestionsor_improvements;comment:改进建议" json:"suggestionsor_improvements"`
|
||||||
AdditionalComments string `gorm:"column:additional_comments;not null;comment:补充意见" json:"additional_comments"`
|
AdditionalComments string `gorm:"column:additional_comments;comment:补充意见" json:"additional_comments"`
|
||||||
SurveyUrl string `gorm:"column:survey_url;not null;comment:问卷URL" json:"survey_url"`
|
SurveyUrl string `gorm:"column:survey_url;comment:问卷URL" json:"survey_url"`
|
||||||
SubmitBy string `gorm:"column:submit_by;not null;comment:提交人" json:"submit_by"`
|
SubmitBy string `gorm:"column:submit_by;comment:提交人" json:"submit_by"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (QuestionnaireSurvey) TableName() string {
|
func (QuestionnaireSurvey) TableName() string {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user