public class TenantDto extends Object
protected String
id
name
TenantDto()
static TenantDto
fromTenant(Tenant tenant)
static List<TenantDto>
fromTenantList(List<Tenant> tenants)
String
getId()
getName()
void
setId(String id)
setName(String name)
update(Tenant tenant)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected String id
protected String name
public TenantDto()
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public static TenantDto fromTenant(Tenant tenant)
public static List<TenantDto> fromTenantList(List<Tenant> tenants)
public void update(Tenant tenant)
Copyright © 2018. All rights reserved.