22 lines
816 B
Go
22 lines
816 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 TableNameLoginRelation = "login_relation"
|
|
|
|
// LoginRelation mapped from table <login_relation>
|
|
type LoginRelation struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
UserIndex string `gorm:"column:user_index;not null;default:0" json:"user_index"`
|
|
PlatIndex string `gorm:"column:plat_index;not null;default:0" json:"plat_index"`
|
|
LoginStatus int32 `gorm:"column:login_status;not null;default:2" json:"login_status"`
|
|
Status int32 `gorm:"column:status;not null;default:1" json:"status"`
|
|
}
|
|
|
|
// TableName LoginRelation's table name
|
|
func (*LoginRelation) TableName() string {
|
|
return TableNameLoginRelation
|
|
}
|