Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public abstract class MinimalCompanyDTO extends TaxCodeDTO
@Size( max = 255 )
private String taxCode;

@ApiModelProperty( hidden = true )
@ApiModelProperty( "Auto-generated string uniquely identifying the company" )
@Size( max = 255 )
private String slug;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ public class MyUserDTO extends BaseEntityDTO implements INamedEntityDTO
@ApiModelProperty( "The user's SSH public key" )
private String publicKey;

@ApiModelProperty( "Auto-generated string uniquely identifying the user" )
private String slug;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document


@JsonIgnore
@Override
public String getDisplayName()
Expand Down Expand Up @@ -752,6 +755,16 @@ public void setPublicKey( String publicKey )
this.publicKey = publicKey;
}

public String getSlug()
{
return slug;
}

public void setSlug( String slug )
{
this.slug = slug;
}

@Override
public String toString()
{
Expand Down