package models

import "time"

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

	UserID uint `gorm:"column:user_id"`

	AstrologerID uint `gorm:"column:astrologer_id"`

	CurrentStep int `gorm:"column:current_step"`

	CompletionPercentage int `gorm:"column:completion_percentage"`

	ProfileCompleted bool `gorm:"column:profile_completed"`

	Submitted bool `gorm:"column:submitted"`

	SubmittedAt *time.Time `gorm:"column:submitted_at"`

	AdminStatus string `gorm:"column:admin_status"`

	ApprovedAt *time.Time `gorm:"column:approved_at"`

	RejectedAt *time.Time `gorm:"column:rejected_at"`

	Remarks string `gorm:"column:remarks"`

	Iscompleted bool `gorm:"column:is_completed"`

	ProgressCompleted *time.Time `gorm:"column:progress_completed"`

	CreatedAt time.Time `gorm:"column:created_at"`

	UpdatedAt time.Time `gorm:"column:updated_at"`
}

func (AstrologerProgress) TableName() string {
	return "astrologer_progress"
}
