You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
940 B
Go

// 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 TableNameLangTextMark = "lang_text_mark"
// LangTextMark mapped from table <lang_text_mark>
type LangTextMark struct {
ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" 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"`
Mark string `gorm:"column:mark;type:varchar(64);not null;uniqueIndex:uniq_mark,priority:1;comment:语言唯一标识" json:"mark"`
Text string `gorm:"column:text;type:varchar(255);not null;uniqueIndex:uniq_text,priority:1;comment:对应语种的翻译文案" json:"text"`
}
// TableName LangTextMark's table name
func (*LangTextMark) TableName() string {
return TableNameLangTextMark
}