source: src/main/java/com/example/fooddeliverysystem/model/Admin.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: 396 bytes
Line 
1package com.example.fooddeliverysystem.model;
2
3import com.example.fooddeliverysystem.model.enums.Role;
4import jakarta.persistence.*;
5import lombok.AllArgsConstructor;
6import lombok.Data;
7import lombok.NoArgsConstructor;
8
9@Entity
10@Table(name = "admin_table")
11@Data
12@NoArgsConstructor
13@AllArgsConstructor
14public class Admin {
15 @Id
16 @Column(name = "korisnik_id")
17 private Long adminId;
18
19
20}
Note: See TracBrowser for help on using the repository browser.