package models

import "time"

type ProductSectionMapping struct {
	ID           uint      `gorm:"primaryKey"`
	SectionID    uint      `gorm:"column:sectionId"`
	ProductID    uint      `gorm:"column:productId"`
	DisplayOrder int       `gorm:"column:displayOrder"`
	CreatedAt    time.Time `gorm:"column:created_at"`
	UpdatedAt    time.Time `gorm:"column:updated_at"`
}

func (ProductSectionMapping) TableName() string {
	return "product_section_mapping"
}