// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model const TableNameTCoinLang = "t_coin_lang" // TCoinLang mapped from table type TCoinLang struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` TCoinID int64 `gorm:"column:t_coin_id;type:bigint;not null;uniqueIndex:uniq_t_coin_id_lang_mark,priority:1;comment:积分配置id(t_coin表)" json:"t_coin_id"` LangMark string `gorm:"column:lang_mark;type:varchar(12);not null;uniqueIndex:uniq_t_coin_id_lang_mark,priority:2;comment:语言标识" json:"lang_mark"` Title string `gorm:"column:title;type:varchar(255);not null;comment:积分标题" json:"title"` ImgURL string `gorm:"column:img_url;type:varchar(255);not null;comment:积分图片" json:"img_url"` Rule string `gorm:"column:rule;type:text;not null;comment:积分规则" json:"rule"` IsDefault int8 `gorm:"column:is_default;type:tinyint;not null;comment:是否默认" json:"is_default"` } // TableName TCoinLang's table name func (*TCoinLang) TableName() string { return TableNameTCoinLang }