-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInterviewSlotTable.pm
More file actions
69 lines (67 loc) · 1.42 KB
/
InterviewSlotTable.pm
File metadata and controls
69 lines (67 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright(c) 2003-2007 Robert L. Brown. This is licensed software
# only to be used with an explicit right-to-use license from the
# copyright holder.
use InterviewTable;
use InterviewPersonTable;
%::InterviewSlotTable = (
table => "interview_slot",
heading => "Interview Slot",
order => "time",
columns => [
{
column => "id",
heading => "Id",
type => "pk",
},
{
column => "interview_id",
heading => "Interview",
type => "fk",
values => {
table => \%::InterviewTable,
pk => "id",
label => "purpose",
},
},
{
column => "time",
heading => "Time",
type => "text",
},
{
column => "duration",
heading => "Duration",
type => "text",
},
{
column => "type",
heading => "Type",
type => "enum",
},
{
column => "location",
heading => "Location",
type => "text",
},
{
column => "topic",
heading => "Topic",
type => "text",
},
{
column => "hide",
heading => "Hide",
type => "text",
},
],
rels => [
{
type => "1-N",
containment => '1',
table => \%::InterviewPersonTable,
column => "interview_slot_id",
hashkey => "persons",
},
],
);
1;