package entity

import (
	"time"
)

type CustomStaticPages struct {
	ID          uint      `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
	Title       string    `json:"title" gorm:"type:varchar"`
	Description string    `json:"description" gorm:"type:varchar"`
	Slug        string    `json:"slug" gorm:"type:varchar"`
	HtmlBody    string    `json:"html_body" gorm:"type:text"`
	IsActive    bool      `json:"is_active" gorm:"type:bool"`
	CreatedAt   time.Time `json:"created_at" gorm:"default:now()"`
	UpdatedAt   time.Time `json:"updated_at" gorm:"default:now()"`
}
