Skip to content

Instantly share code, notes, and snippets.

@aytekin
Created December 18, 2020 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aytekin/69c5630f6647dd71389e387f8d493624 to your computer and use it in GitHub Desktop.
Save aytekin/69c5630f6647dd71389e387f8d493624 to your computer and use it in GitHub Desktop.
@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