network.rb 741 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
  2. class Network < ApplicationModel
  3. # belongs_to :group
  4. # belongs_to :state, :class_name => 'Ticket::State'
  5. # belongs_to :priority, :class_name => 'Ticket::Priority'
  6. class Category < ApplicationModel
  7. self.table_name = 'network_categories'
  8. class Type < ApplicationModel
  9. end
  10. class Subscription < ApplicationModel
  11. end
  12. end
  13. class Item < ApplicationModel
  14. class Comment < ApplicationModel
  15. end
  16. class Plus < ApplicationModel
  17. self.table_name = 'network_item_plus'
  18. end
  19. class Subscription < ApplicationModel
  20. end
  21. end
  22. class Privacy < ApplicationModel
  23. self.table_name = 'network_privacies'
  24. end
  25. end