diff options
| author | Xinhui | 2017-09-05 15:20:12 +0200 |
|---|---|---|
| committer | Xinhui | 2017-09-05 15:20:12 +0200 |
| commit | 92703917b31cbaf7f4e5e1bafd009eee2d26c6a1 (patch) | |
| tree | d4b42934b90ab6d6ad3467082d405d79a2319e99 /app | |
| parent | 37947deb6082d12ecfbce3bd7cbf18bc98762d41 (diff) | |
| download | chouette-core-92703917b31cbaf7f4e5e1bafd009eee2d26c6a1.tar.bz2 | |
Model ComplianceCheckSet
Refs #4386
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/compliance_check_set.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/models/compliance_check_set.rb b/app/models/compliance_check_set.rb new file mode 100644 index 000000000..7b6400a21 --- /dev/null +++ b/app/models/compliance_check_set.rb @@ -0,0 +1,10 @@ +class ComplianceCheckSet < ActiveRecord::Base + extend Enumerize + + belongs_to :referential + belongs_to :compliance_control_set + belongs_to :workbench + belongs_to :parent, polymorphic: true + + enumerize :status, in: %w[new pending successful warning failed running aborted canceled] +end |
