// 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 import ( "time" ) const TableNameAuthRole = "auth_role" // AuthRole mapped from table type AuthRole struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键 Name string `gorm:"column:name;comment:角色名字" json:"name"` // 角色名字 CreateTime time.Time `gorm:"column:create_time" json:"create_time"` } // TableName AuthRole's table name func (*AuthRole) TableName() string { return TableNameAuthRole }