package database

import (
	"time"
)

type Staff struct {
	ID             string    `gorm:"primaryKey" json:"id"`
	Name           string    `gorm:"default:null" json:"name"`
	ProfilePicture string    `gorm:"default:null" json:"profile_picture"`
	Email          string    `gorm:"unique;not null" json:"email"`
	Password       string    `gorm:"not null" json:"password"`
	CreatedAt      time.Time `gorm:"default:CURRENT_TIMESTAMP" json:"created_at"`
	UpdatedAt      time.Time `gorm:"default:CURRENT_TIMESTAMP" json:"updated_at"`
	DeletedAt      time.Time `gorm:"default:null" json:"deleted_at"`
}
