package models

import (
	"time"

	"github.com/google/uuid"
)

type Note struct {
	ID            uuid.UUID  `db:"id" json:"id"`
	TenantID      uuid.UUID  `db:"tenant_id" json:"tenant_id"`
	CaseID        *uuid.UUID `db:"case_id" json:"case_id,omitempty"`
	DeadlineID    *uuid.UUID `db:"deadline_id" json:"deadline_id,omitempty"`
	AppointmentID *uuid.UUID `db:"appointment_id" json:"appointment_id,omitempty"`
	CaseEventID   *uuid.UUID `db:"case_event_id" json:"case_event_id,omitempty"`
	Content       string     `db:"content" json:"content"`
	CreatedBy     *uuid.UUID `db:"created_by" json:"created_by,omitempty"`
	CreatedAt     time.Time  `db:"created_at" json:"created_at"`
	UpdatedAt     time.Time  `db:"updated_at" json:"updated_at"`
}
