package database

import (
	"time"
)

type Staff struct {
	ID        string    `gorm:"primaryKey" json:"id"`
	Username  string    `gorm:"default:null;unique" json:"username"`
	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"`
}
