1234567891011121314151617181920212223 |
- package yb_config
- import "time"
- type YbConfig struct {
- ConfigID int `gorm:"primaryKey;column:config_id;type:int(11);not null" json:"-"`
- ConfigCode string `gorm:"column:config_code;type:varchar(50);default:''" json:"configCode"`
- ConfigValue string `gorm:"column:config_value;type:text" json:"configValue"`
- Remark string `gorm:"column:remark;type:varchar(255);default:''" json:"remark"`
- CreateTime time.Time `gorm:"column:create_time;type:datetime" json:"createTime"`
- }
- func (m *YbConfig) TableName() string {
- return "yb_config"
- }
- const (
- UserChartCollectMax = "user_chart_collect_max"
- TelAreaList = "tel_area_list"
- DefaultSpeakerHeadPic = "default_speaker_head_pic"
- )
|