Created
December 18, 2020 18:35
-
-
Save aytekin/69c5630f6647dd71389e387f8d493624 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Getter | |
@Setter | |
public class ProductDto { | |
public ProductDto(Long id, String title, BigDecimal price, String imagePath, String owner) { | |
this.id = id; | |
this.title = title; | |
this.price = price; | |
this.imagePath = imagePath; | |
this.owner = owner; | |
} | |
private Long id; | |
private String title; | |
private BigDecimal price; | |
private String imagePath; | |
private String owner; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment