main
Last change
on this file since 60de3eb was 60de3eb, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 18 months ago |
Added master template and added filtering parts by car and category
|
-
Property mode
set to
100644
|
File size:
619 bytes
|
Rev | Line | |
---|
[feffc2f] | 1 | package com.example.autopartz.model.views;
|
---|
[23a2bc5] | 2 |
|
---|
| 3 | import jakarta.persistence.Entity;
|
---|
| 4 | import jakarta.persistence.Id;
|
---|
| 5 | import jakarta.persistence.Table;
|
---|
| 6 | import lombok.*;
|
---|
| 7 | import org.hibernate.annotations.Immutable;
|
---|
| 8 |
|
---|
| 9 | import java.io.Serial;
|
---|
| 10 | import java.io.Serializable;
|
---|
| 11 |
|
---|
| 12 | @Entity
|
---|
| 13 | @Getter
|
---|
| 14 | @Setter
|
---|
| 15 | @ToString
|
---|
| 16 | @RequiredArgsConstructor
|
---|
| 17 | @Immutable
|
---|
| 18 | @Table(name = "`parts_for_car_type_and_category`")
|
---|
| 19 | public class PartsForCarTypeAndCategory implements Serializable {
|
---|
| 20 | @Serial
|
---|
| 21 | private static final long serialVersionUID = 1L;
|
---|
| 22 | @Id
|
---|
| 23 | Long partid;
|
---|
| 24 | String partname;
|
---|
| 25 | String cartype;
|
---|
| 26 | String category;
|
---|
[60de3eb] | 27 | String pmname;
|
---|
[23a2bc5] | 28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.