source: src/main/java/com/example/fooddeliverysystem/model/Vehicle.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: 508 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 = "vozilo")
13@Data
14@AllArgsConstructor
15@NoArgsConstructor
16public class Vehicle {
17
18 @Id
19 @Column(name = "vozilo_id")
20 private Long vehicleId;
21
22 @Column(name = "tip_vozilo")
23 private String vehichleName;
24}
Note: See TracBrowser for help on using the repository browser.