// 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 TableNameFissionTemp = "fission_temp" // FissionTemp mapped from table type FissionTemp 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"` IsDel int8 `gorm:"column:is_del;type:tinyint;not null;comment:是否已删除(1-是,0-否)" json:"is_del"` HashID string `gorm:"column:hash_id;type:varchar(20);not null;uniqueIndex:uniq_hash_id,priority:1;comment:模版对外id" json:"hash_id"` FissionID int64 `gorm:"column:fission_id;type:bigint;not null;index:idx_fission_id,priority:1;comment:玩法id(fission表主键)" json:"fission_id"` GroupID int64 `gorm:"column:group_id;type:bigint;not null;index:uniq_group_id_lang_type,priority:1;comment:模版组id(fission_temp_group表)" json:"group_id"` LangType int8 `gorm:"column:lang_type;type:tinyint;not null;index:uniq_group_id_lang_type,priority:2;comment:语言(1-中文,2-英文)" json:"lang_type"` TextType int8 `gorm:"column:text_type;type:tinyint;not null;comment:文字模板(1-汉字模板,2-拉丁语系模板)" json:"text_type"` } // TableName FissionTemp's table name func (*FissionTemp) TableName() string { return TableNameFissionTemp }