package models

import "time"

type AstrologerLanguage struct {
	ID uint `gorm:"primaryKey"`

	AstrologerID uint `gorm:"column:astrologer_id"`

	LanguageID uint `gorm:"column:language_id"`

	CreatedAt time.Time

	UpdatedAt time.Time

	Language Language `gorm:"foreignKey:LanguageID"`
}

func (AstrologerLanguage) TableName() string {

	return "astrologer_languages"

}
