package models import "time" // PlatformComplaint 平台投诉建议 yz_system_platform_complaint type PlatformComplaint struct { ID uint64 `orm:"column(id);pk;auto" json:"id"` CategoryID uint64 `orm:"column(category_id)" json:"categoryId"` Title string `orm:"column(title);size(200)" json:"title"` Content string `orm:"column(content);type(text)" json:"content"` ContactName *string `orm:"column(contact_name);size(64);null" json:"contactName"` ContactPhone *string `orm:"column(contact_phone);size(32);null" json:"contactPhone"` ContactEmail *string `orm:"column(contact_email);size(128);null" json:"contactEmail"` Status int8 `orm:"column(status);default(0)" json:"status"` ReplyContent *string `orm:"column(reply_content);type(text);null" json:"replyContent"` ReplyTime *time.Time `orm:"column(reply_time);type(datetime);null" json:"replyTime"` Tid *uint64 `orm:"column(tid);null" json:"tid"` Remark *string `orm:"column(remark);size(512);null" json:"remark"` CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"createTime"` UpdateTime *time.Time `orm:"column(update_time);auto_now;type(datetime);null" json:"updateTime"` DeleteTime *time.Time `orm:"column(delete_time);type(datetime);null" json:"deleteTime"` } func (p *PlatformComplaint) TableName() string { return "yz_system_platform_complaint" }