fixes bug#13723
dev:Aristides qua: Criação de campo para verificar se empresa utiliza de autorização ao enviar e-mail na venda call center. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@90346 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9d32e656c8
commit
4aa28c5e1a
|
@ -16,6 +16,8 @@ import javax.persistence.Table;
|
||||||
import javax.persistence.Temporal;
|
import javax.persistence.Temporal;
|
||||||
import javax.persistence.TemporalType;
|
import javax.persistence.TemporalType;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.BooleanUtils;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@SequenceGenerator(name = "EMPRESA_EMAIL_CONFIG_SEQ", sequenceName = "EMPRESA_EMAIL_CONFIG_SEQ", allocationSize = 1)
|
@SequenceGenerator(name = "EMPRESA_EMAIL_CONFIG_SEQ", sequenceName = "EMPRESA_EMAIL_CONFIG_SEQ", allocationSize = 1)
|
||||||
@Table(name = "EMPRESA_EMAIL_CONFIG")
|
@Table(name = "EMPRESA_EMAIL_CONFIG")
|
||||||
|
@ -45,6 +47,8 @@ public class EmpresaEmailConfig implements Serializable {
|
||||||
private Date fecmodif;
|
private Date fecmodif;
|
||||||
@Column(name = "USUARIO_ID")
|
@Column(name = "USUARIO_ID")
|
||||||
private Integer usuarioId;
|
private Integer usuarioId;
|
||||||
|
@Column(name = "INDAUTENTICACAO")
|
||||||
|
private Boolean indAutenticacao;
|
||||||
|
|
||||||
public EmpresaEmailConfig() {
|
public EmpresaEmailConfig() {
|
||||||
|
|
||||||
|
@ -122,6 +126,14 @@ public class EmpresaEmailConfig implements Serializable {
|
||||||
this.usuarioId = usuarioId;
|
this.usuarioId = usuarioId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getIndAutenticacao() {
|
||||||
|
return BooleanUtils.toBooleanObject(indAutenticacao) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndAutenticacao(Boolean indAutenticacao) {
|
||||||
|
this.indAutenticacao = indAutenticacao;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
final int prime = 31;
|
final int prime = 31;
|
||||||
|
|
Loading…
Reference in New Issue