forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.2 KiB
67 lines
1.2 KiB
/*
|
|
* TecnicoSaude.java
|
|
*
|
|
* Created on October 12, 2007, 11:00 AM
|
|
*
|
|
* To change this template, choose Tools | Template Manager
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package beans;
|
|
|
|
import db.data.siprp_local.outer.MarcacoesTecnicosHstData;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
*
|
|
* @author lluis
|
|
*/
|
|
public class TecnicoSaude implements Serializable
|
|
{
|
|
private Integer id;
|
|
private String nome;
|
|
|
|
/** Creates a new instance of TecnicoSaude */
|
|
public TecnicoSaude() {
|
|
}
|
|
|
|
public TecnicoSaude( MarcacoesTecnicosHstData marcacoesTecnicosHstData )
|
|
{
|
|
this.withId( marcacoesTecnicosHstData.getId() ).withNome( marcacoesTecnicosHstData.getNome() );
|
|
}
|
|
|
|
public TecnicoSaude withId( final Integer id )
|
|
{
|
|
this.id = id;
|
|
return this;
|
|
}
|
|
|
|
public TecnicoSaude withNome( final String nome )
|
|
{
|
|
this.nome = nome;
|
|
return this;
|
|
}
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getNome() {
|
|
return nome;
|
|
}
|
|
|
|
public void setNome(String nome) {
|
|
this.nome = nome;
|
|
}
|
|
|
|
public String toString() {
|
|
return utils.Utils.unicodeToHTML(nome);
|
|
}
|
|
|
|
}
|