mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-22 02:23:32 +00:00
23 lines
639 B
Go
23 lines
639 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type Provider struct {
|
|
ID string `db:"id"`
|
|
CreatedAt time.Time `db:"created_at"`
|
|
UpdatedAt time.Time `db:"updated_at"`
|
|
Name string `db:"name"`
|
|
Provider string `db:"provider"`
|
|
Config string `db:"config"`
|
|
IsDefault bool `db:"is_default"`
|
|
}
|
|
|
|
type Prompt struct {
|
|
ID int `db:"id" json:"id"`
|
|
CreatedAt time.Time `db:"created_at" json:"created_at"`
|
|
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
|
|
Title string `db:"title" json:"title"`
|
|
Key string `db:"key" json:"key"`
|
|
Content string `db:"content" json:"content,omitempty"`
|
|
}
|