blob: a4b1062f6033fa219d2613d8f993b21bc79c872c (
plain)
1
2
3
4
5
6
7
8
9
10
11
  | 
class ComplianceCheckMessage < ApplicationModel
  extend Enumerize
  belongs_to :compliance_check_set
  belongs_to :compliance_check
  belongs_to :compliance_check_resource
  enumerize :status, in: %i(OK ERROR WARNING IGNORED), scope: true
  validates_presence_of :compliance_check_set
end
 
  |