sys_app.gen.go 1.1 KB

123456789101112131415161718192021222324252627282930
  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. import (
  6. "time"
  7. )
  8. const TableNameSysApp = "sys_app"
  9. // SysApp mapped from table <sys_app>
  10. type SysApp struct {
  11. ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  12. Appid int32 `gorm:"column:appid" json:"appid"` // app id
  13. Nickname string `gorm:"column:nickname" json:"nickname"` // app别称
  14. Appname string `gorm:"column:appname" json:"appname"` // app名称标识
  15. Path string `gorm:"column:path" json:"path"` // app安装路径
  16. URL string `gorm:"column:url" json:"url"` // app url地址
  17. Version string `gorm:"column:version" json:"version"` // app版本号
  18. Icon string `gorm:"column:icon" json:"icon"` // App图标
  19. CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间
  20. UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间
  21. }
  22. // TableName SysApp's table name
  23. func (*SysApp) TableName() string {
  24. return TableNameSysApp
  25. }