admin_role_menu.gen.go 678 B

1234567891011121314151617181920
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. const TableNameAdminRoleMenu = "admin_role_menu"
  6. // AdminRoleMenu mapped from table <admin_role_menu>
  7. type AdminRoleMenu struct {
  8. ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  9. RoleID int32 `gorm:"column:role_id;not null" json:"role_id"`
  10. SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
  11. PageID int32 `gorm:"column:page_id;not null" json:"page_id"`
  12. }
  13. // TableName AdminRoleMenu's table name
  14. func (*AdminRoleMenu) TableName() string {
  15. return TableNameAdminRoleMenu
  16. }