package models

import "time"

type ProductTag struct {
	ID        uint      `gorm:"primaryKey"`
	ProductID uint      `gorm:"column:productId"`
	Tag       string    `gorm:"column:tag"`
	CreatedAt time.Time `gorm:"column:created_at"`
	UpdatedAt time.Time `gorm:"column:updated_at"`
}

func (ProductTag) TableName() string {
	return "product_tags"
}