14 lines
337 B
Go
14 lines
337 B
Go
package models
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
"github.com/uptrace/bun"
|
|
)
|
|
|
|
type WebsiteSettings struct {
|
|
bun.BaseModel `bun:"table:website_settings"`
|
|
|
|
ID uuid.UUID `bun:"type:uuid,pk,default:gen_random_uuid()" json:"id"`
|
|
AutoAcceptDemand bool `bun:"auto_accept_demand,default:false" json:"autoAcceptDemand"`
|
|
}
|