Skip to content

Commit

Permalink
Add description and quantity
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Giordano committed Feb 7, 2019
1 parent 4587deb commit 8d09e54
Showing 1 changed file with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@

public class ResellingReportLineDTO extends ReportLineDTO
{
@ApiModelProperty( value = "The distributor of this product", readOnly = true )
private UrlEntityDTO distributor;

@ApiModelProperty( value = "The reseller who sold this", readOnly = true )
private UrlEntityDTO reseller;

private LineType type;

@ApiModelProperty( value = "The vendor of this product", readOnly = true )
@ApiModelProperty( value = "The description of the invoice line", readOnly = true )
private String description;

@ApiModelProperty( value = "The quantity sold", readOnly = true )
private BigDecimal quantity;

private UrlEntityDTO vendor;

@ApiModelProperty( value = "The proceeds for the parent", readOnly = true )
Expand Down Expand Up @@ -65,6 +68,26 @@ public void setType( LineType type )
this.type = type;
}

public String getDescription()
{
return description;
}

public void setDescription( String description )
{
this.description = description;
}

public BigDecimal getQuantity()
{
return quantity;
}

public void setQuantity( BigDecimal quantity )
{
this.quantity = quantity;
}

public UrlEntityDTO getVendor()
{
return vendor;
Expand Down

0 comments on commit 8d09e54

Please sign in to comment.