system_config.go 882 B

1234567891011121314151617181920212223242526
  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. "gorm.io/gorm"
  8. )
  9. const TableNameSystemConfig = "system_config"
  10. // SystemConfig mapped from table <system_config>
  11. type SystemConfig struct {
  12. RescanReminderThreshold float32 `gorm:"column:rescan_reminder_threshold;type:float(6,2);primaryKey" json:"rescan_reminder_threshold"`
  13. CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null" json:"created_at"`
  14. UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime" json:"updated_at"`
  15. DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime" json:"deleted_at"`
  16. }
  17. // TableName SystemConfig's table name
  18. func (*SystemConfig) TableName() string {
  19. return TableNameSystemConfig
  20. }