package vulnmodel

import "time"

type SLARule struct {
	Severity  string    `gorm:"primaryKey;size:32" json:"severity"`
	Hours     int       `json:"hours"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

func (SLARule) TableName() string {
	return "vulnerability_sla_rules"
}
