package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Dec 16, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type PathBack struct {
gorm.Model
PathBackId uint `gorm:"column:id"`
PathRoute string `gorm:"column:path_route;not null"`
OperationRoute string `gorm:"column:operation_route;not null"`
}
type Role struct {
gorm.Model
RoleId uint `gorm:"column:id"`
RoleName string `gorm:"column:role_name;not null"`
}
type RolePath struct {
gorm.Model
RolePathId uint `gorm:"column:id"`
RoleId uint `gorm:"column:role_id;not null"`
Role Role
PathBackId uint `gorm:"column:path_back_id;not null"`
PathBack PathBack
}
type User struct {
gorm.Model
UserId uint `gorm:"column:id"`
Email string `gorm:"column:email;not null"`
Name string `gorm:"column:name;not null"`
SubName string `gorm:"column:sub_name"`
Enabled bool `gorm:"column:enabled;not null"`
Password string `gorm:"column:password;not null"`
RoleId uint `gorm:"column:role_id;not null"`
Role Role
CodeValidateEmail *string `gorm:"column:code_validate_email"`
CodeRemenberPassword *string `gorm:"column:code_remenber_password"`
}
type UserAttributtes struct {
gorm.Model
UserAttributteId uint `gorm:"column:id"`
UserId uint `gorm:"column:user_id;not null"`
User User
NameAttributte string `gorm:"column:name_attributte;not null"`
ValueAttributtes string `gorm:"column:vale_attributte;not null"`
}
type UserMigration struct {
gorm.Model
MigrationId uint `gorm:"column:id;not null"`
MigrationVersion string `gorm:"column:migrate_version;not null"`
DateCreate time.Time `gorm:"column:date_create;not null"`
}
type UserPath struct {
gorm.Model
UserPathId uint `gorm:"column:id"`
UserId uint `gorm:"column:user_id;not null"`
User User
PathBackId uint `gorm:"column:path_back_id;not null"`
PathBack PathBack
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.