source: src/main/java/com/example/fooddeliverysystem/model/FoodStructure.java@ 8d11f8c

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

code added, trial 2

  • Property mode set to 100644
File size: 599 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 = "namirnica")
13@Data
14@AllArgsConstructor
15@NoArgsConstructor
16public class FoodStructure {
17
18 @Id
19 @Column(name = "id_namirnica")
20 private Long foodStructureId;
21
22 @Column(name = "ime_name")
23 private String foodStructureName;
24
25 @Column(name = "dali_alergent")
26 private Boolean isAllergen;
27
28}
Note: See TracBrowser for help on using the repository browser.