package models

import "time"

type AstrologerGift struct {
	ID           uint       `gorm:"primaryKey;autoIncrement" json:"id"`
	UserID       uint       `gorm:"column:userId" json:"userId "`
	AstrologerID uint       `gorm:"column:astrologerId" json:"astrologerId"`
	GiftID       uint       `gorm:"column:giftId"`
	GiftAmount   float64    `gorm:"column:giftAmount"`
	IsActive     bool       `gorm:"column:isActive"`
	IsDelete     bool       `gorm:"column:isDelete"`
	CreatedAt    *time.Time `gorm:"column:created_at;autoCreateTime" json:"createdAt"`
}

func (AstrologerGift) TableName() string {
	return "astrologer_gifts"
}
