Last change
on this file since fdfbdde was fdfbdde, checked in by Stojilkova Sara <sara.stojilkova.students.finki.ukim.mk>, 9 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
468 bytes
|
Line | |
---|
1 | package com.example.task.entity.schoolyear;
|
---|
2 |
|
---|
3 | import jakarta.persistence.EmbeddedId;
|
---|
4 | import jakarta.persistence.Entity;
|
---|
5 | import jakarta.persistence.Table;
|
---|
6 | import lombok.AllArgsConstructor;
|
---|
7 | import lombok.Getter;
|
---|
8 | import lombok.NoArgsConstructor;
|
---|
9 | import lombok.Setter;
|
---|
10 |
|
---|
11 | @Entity
|
---|
12 | @Table(name = "school_year", schema = "project")
|
---|
13 | @NoArgsConstructor
|
---|
14 | @AllArgsConstructor
|
---|
15 | @Getter
|
---|
16 | @Setter
|
---|
17 | public class SchoolYearEntity {
|
---|
18 |
|
---|
19 | @EmbeddedId
|
---|
20 | private SchoolYearId schoolYearId;
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.