source:
src/main/java/mk/ukim/finki/eglas/model/Municipality.java
Last change on this file was ac151d1, checked in by , 4 months ago | |
---|---|
|
|
File size: 352 bytes |
Line | |
---|---|
1 | package mk.ukim.finki.eglas.model; |
2 | |
3 | import jakarta.persistence.*; |
4 | import lombok.Data; |
5 | |
6 | @Entity |
7 | @Data |
8 | @Table(name = "opstini") |
9 | public class Municipality { |
10 | @Id |
11 | @GeneratedValue(strategy = GenerationType.IDENTITY) |
12 | @Column(name = "o_id") |
13 | Long id; |
14 | @Column(name = "map_id") |
15 | String mapId; |
16 | @Column(name = "o_ime") |
17 | String name; |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.