Last change
on this file since d3cf3a1 was d3cf3a1, checked in by Marija Micevska <marija_micevska@…>, 2 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
575 bytes
|
Rev | Line | |
---|
[d3cf3a1] | 1 | package project.educatum.model.relations;
|
---|
| 2 |
|
---|
| 3 | import lombok.Data;
|
---|
| 4 | import project.educatum.model.primarykeys.StudentHomeworkRelationID;
|
---|
| 5 |
|
---|
| 6 | import javax.persistence.Column;
|
---|
| 7 | import javax.persistence.EmbeddedId;
|
---|
| 8 | import javax.persistence.Entity;
|
---|
| 9 | import javax.persistence.Table;
|
---|
| 10 |
|
---|
| 11 | @Data
|
---|
| 12 | @Entity
|
---|
| 13 | @Table(name = "ucenici_domasni", schema = "project")
|
---|
| 14 | public class StudentHomeworkRelation {
|
---|
| 15 | @EmbeddedId
|
---|
| 16 | private StudentHomeworkRelationID id;
|
---|
| 17 |
|
---|
| 18 | @Column(name = "dali_zavrsena")
|
---|
| 19 | private Boolean isDone;
|
---|
| 20 |
|
---|
| 21 | public StudentHomeworkRelation() {
|
---|
| 22 | this.isDone = false;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.