source: src/main/java/com/example/moviezone/model/Customer.java@ 11dea8f

Last change on this file since 11dea8f was e6b2246, checked in by milamihajlovska <mila.mihajlovska01@…>, 22 months ago

added models

  • Property mode set to 100644
File size: 392 bytes
Line 
1package com.example.moviezone.model;
2
3import jakarta.persistence.Entity;
4import jakarta.persistence.PrimaryKeyJoinColumn;
5import jakarta.persistence.Table;
6import lombok.Getter;
7import lombok.Setter;
8import lombok.ToString;
9
10@Entity
11@Getter
12@Setter
13@ToString
14@Table(name = "customers")
15@PrimaryKeyJoinColumn(name = "id_customer")
16public class Customer extends User{
17
18
19 Integer points;
20
21
22}
Note: See TracBrowser for help on using the repository browser.