Sha256: 79f662648fac20f6d0fc7cee5e3212aa5c15d8e61ebabff33d80698557ed20fa

Contents?: true

Size: 210 Bytes

Versions: 4

Compression:

Stored size: 210 Bytes

Contents

module Sis
  module Core
    class Classroom < ApplicationRecord
      belongs_to :building
      belongs_to :programme_level
      validates :room_number, :floor, :class_type, presence: true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sis_core-1.0.20 app/models/sis/core/classroom.rb
sis_core-1.0.19 app/models/sis/core/classroom.rb
sis_core-1.0.18 app/models/sis/core/classroom.rb
sis_core-1.0.17 app/models/sis/core/classroom.rb