package entity

import (
	"time"
)

type Banners struct {
	ID            uint       `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
	Title         string     `json:"title" gorm:"type:varchar"`
	Description   *string    `json:"description" gorm:"type:text"`
	ThumbnailPath *string    `json:"thumbnail_path" gorm:"type:varchar"`
	Position      *string    `json:"position" gorm:"type:varchar"`
	Status        *string    `json:"status" gorm:"type:varchar"`
	IsActive      *bool      `json:"is_active" gorm:"type:bool;default:true"`
	CreatedAt     time.Time  `json:"created_at" gorm:"default:now()"`
	UpdatedAt     time.Time  `json:"updated_at" gorm:"default:now()"`
}

