sys_access.gen.go 562 B

12345678910111213141516171819
  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 TableNameSysAccess = "sys_access"
  6. // SysAccess mapped from table <sys_access>
  7. type SysAccess struct {
  8. ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  9. Usrid int32 `gorm:"column:usrid" json:"usrid"` // 用户id
  10. Appid int32 `gorm:"column:appid" json:"appid"` // appid
  11. }
  12. // TableName SysAccess's table name
  13. func (*SysAccess) TableName() string {
  14. return TableNameSysAccess
  15. }