Skip to content

Commit

Permalink
Assign reseller catalog to user company
Browse files Browse the repository at this point in the history
  • Loading branch information
malteo committed Jul 28, 2020
1 parent 8f91d5f commit d1b9a99
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public class UserCompanyDTO extends CompanyDTO
@ApiModelProperty( "If this customer can pay later, only for admin" )
private Boolean delayedPayment;

@ApiModelProperty( "The reseller catalog associated to the company" )
@Valid
private UrlEntityDTO resellerCatalog;

public UserCompanyDTO( String name, String email )
{
super( name );
Expand Down Expand Up @@ -63,6 +67,16 @@ public void setDelayedPayment( Boolean delayedPayment )
this.delayedPayment = delayedPayment;
}

public UrlEntityDTO getResellerCatalog()
{
return resellerCatalog;
}

public void setResellerCatalog( UrlEntityDTO resellerCatalog )
{
this.resellerCatalog = resellerCatalog;
}

@Override
public boolean equals( Object o )
{
Expand Down

0 comments on commit d1b9a99

Please sign in to comment.