Newer
Older
# == Schema Information
#
# Table name: university_people
#
# id :uuid not null, primary key
# biography :text
# description :text
# email :string
# first_name :string
# habilitation :boolean default(FALSE)
# is_administration :boolean
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# is_researcher :boolean
# is_teacher :boolean
# last_name :string
# linkedin :string
# phone :string
# slug :string
# tenure :boolean default(FALSE)
# twitter :string
# url :string
# created_at :datetime not null
# updated_at :datetime not null
# university_id :uuid not null, indexed
# user_id :uuid indexed
#
# Indexes
#
# index_university_people_on_university_id (university_id)
# index_university_people_on_user_id (user_id)
#
# Foreign Keys
#
# fk_rails_b47a769440 (user_id => users.id)
# fk_rails_da35e70d61 (university_id => universities.id)
#
class University::Person::Alumnus < University::Person
def self.polymorphic_name
'University::Person::Alumnus'
end
def git_path(website)
# TODO
end
def for_website?(website)
# TODO
end
end