source: src/main/java/com/example/task/entity/subject/SubjectEntity.java@ fdfbdde

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: 548 bytes
Line 
1package com.example.task.entity.subject;
2
3import jakarta.persistence.Column;
4import jakarta.persistence.EmbeddedId;
5import jakarta.persistence.Entity;
6import jakarta.persistence.Table;
7import lombok.AllArgsConstructor;
8import lombok.Getter;
9import lombok.NoArgsConstructor;
10import lombok.Setter;
11
12@Entity
13@Table(name = "subject_at_term", schema = "project")
14@NoArgsConstructor
15@AllArgsConstructor
16@Getter
17@Setter
18public class SubjectEntity {
19
20 @EmbeddedId
21 private SubjectId id;
22
23 @Column(name = "subject_name")
24 private String name;
25}
Note: See TracBrowser for help on using the repository browser.