admin_system.gen.go 719 B

123456789101112131415161718192021
  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 TableNameAdminSystem = "admin_system"
  6. // AdminSystem mapped from table <admin_system>
  7. type AdminSystem struct {
  8. ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  9. Name string `gorm:"column:name;not null" json:"name"`
  10. URL string `gorm:"column:url;not null" json:"url"`
  11. CreateAt int32 `gorm:"column:create_at;not null" json:"create_at"`
  12. UpdateAt int32 `gorm:"column:update_at;not null" json:"update_at"`
  13. }
  14. // TableName AdminSystem's table name
  15. func (*AdminSystem) TableName() string {
  16. return TableNameAdminSystem
  17. }