main
Last change
on this file since 4d67d70 was 4d67d70, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 18 months ago |
Final touches
|
-
Property mode
set to
100644
|
File size:
815 bytes
|
Rev | Line | |
---|
[4d67d70] | 1 | package com.example.autopartz.model.views;
|
---|
| 2 |
|
---|
| 3 | import lombok.Getter;
|
---|
| 4 | import lombok.RequiredArgsConstructor;
|
---|
| 5 | import lombok.Setter;
|
---|
| 6 | import lombok.ToString;
|
---|
| 7 | import org.hibernate.annotations.Immutable;
|
---|
| 8 |
|
---|
| 9 | import javax.persistence.Entity;
|
---|
| 10 | import javax.persistence.Id;
|
---|
| 11 | import javax.persistence.IdClass;
|
---|
| 12 | import javax.persistence.Table;
|
---|
| 13 | import java.io.Serial;
|
---|
| 14 | import java.io.Serializable;
|
---|
| 15 |
|
---|
| 16 | @Entity
|
---|
| 17 | @Getter
|
---|
| 18 | @Setter
|
---|
| 19 | @ToString
|
---|
| 20 | @RequiredArgsConstructor
|
---|
| 21 | @Immutable
|
---|
| 22 | @Table(name = "`warehouseman_report`")
|
---|
| 23 | @IdClass(WarehousemanReportId.class)
|
---|
| 24 | public class WarehousemanReport implements Serializable {
|
---|
| 25 | @Serial
|
---|
| 26 | private static final long serialVersionUID = 1L;
|
---|
| 27 | @Id
|
---|
| 28 | Integer wid;
|
---|
| 29 | @Id
|
---|
| 30 | String pname;
|
---|
| 31 | Long quantityordered;
|
---|
| 32 | Integer quantitywarehouse;
|
---|
| 33 | Long quantitylast3months;
|
---|
| 34 | String hasenoughinstock;
|
---|
| 35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.