package entities

import (
	"time"

	"gorm.io/gorm"
)

type ConfigChecklist struct {
	Id                        uint           `gorm:"primaryKey"`
	Date                      time.Time      `gorm:"type:date;not null"`
	PercentageThresholdBad    int            `gorm:"not null"`
	PercentageThresholdEnough int            `gorm:"not null"`
	CreatedAt                 time.Time      `gorm:"autoCreateTime"`
	UpdatedAt                 time.Time      `gorm:"autoUpdateTime"`
	DeletedAt                 gorm.DeletedAt `gorm:"index" json:"-"`
}
