source: src/main/java/com/example/model/manytomany/band_plays_on_event.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 702 bytes
Line 
1package com.example.model.manytomany;
2
3import lombok.Data;
4
5import javax.persistence.Column;
6import javax.persistence.Entity;
7import javax.persistence.Id;
8import javax.persistence.Table;
9import java.io.Serializable;
10
11@Data
12@Entity
13@Table(name = "bend_sviri_nastan")
14public class band_plays_on_event implements Serializable {
15
16 @Id
17 @Column(name = "korisnik_id")
18 Integer user_id;
19
20 @Id
21 @Column(name = "nastan_id")
22 Integer event_id;
23
24 String status;
25
26 public band_plays_on_event(Integer user_id, Integer event_id, String status) {
27 this.user_id = user_id;
28 this.event_id = event_id;
29 this.status = status;
30 }
31
32 public band_plays_on_event() {
33 }
34}
Note: See TracBrowser for help on using the repository browser.