Files
libredesk/internal/template/models/models.go
T
Abhinav Raut caf8e7d34d WIP: MVP with shadcn sidebar
- csat
- SLA
- email notification templates
2025-01-06 02:39:44 +05:30

20 lines
570 B
Go

package models
import (
"time"
"github.com/volatiletech/null/v9"
)
type Template 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"`
Type string `db:"type" json:"type"`
Name string `db:"name" json:"name"`
Subject null.String `db:"subject" json:"subject"`
Body string `db:"body" json:"body"`
IsDefault bool `db:"is_default" json:"is_default"`
IsBuiltIn bool `db:"is_builtin" json:"is_builtin"`
}