1 | |
package org.kuali.student.enrollment.class1.lui.model; |
2 | |
|
3 | |
import javax.persistence.*; |
4 | |
|
5 | |
import org.kuali.student.common.util.UUIDHelper; |
6 | |
|
7 | |
@Entity |
8 | |
@Table(name = "KSEN_LUI_RESULT_VAL_GRP") |
9 | |
public class LuiResultValuesGroupEntity{ |
10 | |
|
11 | |
@Id |
12 | |
@Column(name = "ID") |
13 | |
private String id; |
14 | |
|
15 | |
@ManyToOne(optional=false) |
16 | |
@JoinColumn(name="LUI_ID") |
17 | |
private LuiEntity lui; |
18 | |
|
19 | |
@Column(name = "RESULT_VAL_GRP_ID", nullable = false) |
20 | |
private String resultValuesGroupKey; |
21 | |
|
22 | 0 | public LuiResultValuesGroupEntity(){ |
23 | |
|
24 | 0 | } |
25 | |
|
26 | 0 | public LuiResultValuesGroupEntity(LuiEntity lui, String resultValuesGroupKey){ |
27 | 0 | this.setId(UUIDHelper.genStringUUID()); |
28 | 0 | this.setLui(lui); |
29 | 0 | this.setResultValuesGroupKey(resultValuesGroupKey); |
30 | 0 | } |
31 | |
|
32 | |
public String getResultValuesGroupKey() { |
33 | 0 | return resultValuesGroupKey; |
34 | |
} |
35 | |
|
36 | |
public void setResultValuesGroupKey(String resultValuesGroupKey) { |
37 | 0 | this.resultValuesGroupKey = resultValuesGroupKey; |
38 | 0 | } |
39 | |
|
40 | |
public LuiEntity getLui() { |
41 | 0 | return lui; |
42 | |
} |
43 | |
|
44 | |
public void setLui(LuiEntity lui) { |
45 | 0 | this.lui = lui; |
46 | 0 | } |
47 | |
|
48 | |
public String getId() { |
49 | 0 | return id; |
50 | |
} |
51 | |
|
52 | |
public void setId(String id) { |
53 | 0 | this.id = id; |
54 | 0 | } |
55 | |
} |