-
Notifications
You must be signed in to change notification settings - Fork 562
/
Copy pathorg_settings.gen.go
27 lines (22 loc) · 1014 Bytes
/
org_settings.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
import (
"time"
)
const TableNameOrgSetting = "org_settings"
// OrgSetting mapped from table <org_settings>
type OrgSetting struct {
CreatedAt time.Time `gorm:"column:created_at;not null;default:now()" json:"created_at"`
ScheduleType string `gorm:"column:schedule_type" json:"schedule_type"`
Schedule string `gorm:"column:schedule" json:"schedule"`
SlackNotificationURL string `gorm:"column:slack_notification_url" json:"slack_notification_url"`
OrgID string `gorm:"column:org_id" json:"org_id"`
ExternalOrgID string `gorm:"column:external_org_id" json:"external_org_id"`
ID string `gorm:"column:id;primaryKey;default:gen_random_uuid()" json:"id"`
}
// TableName OrgSetting's table name
func (*OrgSetting) TableName() string {
return TableNameOrgSetting
}