source: src/main/java/com/example/fooddeliverysystem/model/Location.java

Last change on this file was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 20 months ago

code added, trial 2

  • Property mode set to 100644
File size: 561 bytes
Line 
1package com.example.fooddeliverysystem.model;
2
3import jakarta.persistence.Column;
4import jakarta.persistence.Entity;
5import jakarta.persistence.Id;
6import jakarta.persistence.Table;
7import lombok.AllArgsConstructor;
8import lombok.Data;
9import lombok.NoArgsConstructor;
10
11@Entity
12@Table(name = "lokacija")
13@Data
14@NoArgsConstructor
15@AllArgsConstructor
16public class Location {
17 @Id
18 @Column(name = "lokacija_id")
19 private Long locationId;
20
21
22 @Column(name = "adresa")
23 private String address;
24
25 @Column(name = "broj")
26 private Integer number;
27}
Note: See TracBrowser for help on using the repository browser.