source: src/main/java/com/example/autopartz/model/DTO/CurrentOrderDTO.java@ 84652fb

main
Last change on this file since 84652fb was 89865ae, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added price and total price in currentOrder

  • Property mode set to 100644
File size: 541 bytes
Line 
1package com.example.autopartz.model.DTO;
2
3import lombok.Data;
4import lombok.NoArgsConstructor;
5import lombok.RequiredArgsConstructor;
6
7@Data
8@NoArgsConstructor
9public class CurrentOrderDTO {
10 String partName;
11 String manufacturerName;
12 Integer quantity;
13 Integer price;
14
15 public CurrentOrderDTO(String partName, String manufacturerName, Integer quantity, Integer price) {
16 this.partName = partName;
17 this.manufacturerName = manufacturerName;
18 this.quantity = quantity;
19 this.price = price;
20 }
21}
Note: See TracBrowser for help on using the repository browser.