1 package ecar.pojo;
2
3
4
5 import javax.persistence.Column;
6 import javax.persistence.Entity;
7 import javax.persistence.FetchType;
8 import javax.persistence.GeneratedValue;
9 import javax.persistence.Id;
10 import javax.persistence.JoinColumn;
11 import javax.persistence.ManyToOne;
12 import javax.persistence.Table;
13 import org.hibernate.annotations.GenericGenerator;
14
15
16
17
18 @Entity
19 @Table(name = "TB_CONFIG_EXEC_FINAN_CEF")
20 public class ConfigExecFinanCef implements java.io.Serializable {
21
22 private Long codCef;
23 private Integer seqApresentacaoCef;
24 private String idXmlCef;
25 private String labelCef;
26 private String nomeCef;
27 private Integer numCaracteresCef;
28 private ConfigTipoDadoCtd configTipoDadoCtd;
29 private ConfigSisExecFinanCsefv configSisExecFinanCsefv;
30
31 public ConfigExecFinanCef() {
32 }
33
34 public ConfigExecFinanCef(Integer seqApresentacaoCef, String idXmlCef, String labelCef, String nomeCef, Integer numCaracteresCef, ConfigTipoDadoCtd configTipoDadoCtd, ConfigSisExecFinanCsefv configSisExecFinanCsefv) {
35 this.seqApresentacaoCef = seqApresentacaoCef;
36 this.idXmlCef = idXmlCef;
37 this.labelCef = labelCef;
38 this.nomeCef = nomeCef;
39 this.numCaracteresCef = numCaracteresCef;
40 this.configTipoDadoCtd = configTipoDadoCtd;
41 this.configSisExecFinanCsefv = configSisExecFinanCsefv;
42 }
43
44 @GenericGenerator(name = "generator", strategy = "increment")
45 @Id
46 @GeneratedValue(generator = "generator")
47 @Column(name = "COD_CEF", nullable = false)
48 public Long getCodCef() {
49 return this.codCef;
50 }
51
52 public void setCodCef(Long codCef) {
53 this.codCef = codCef;
54 }
55
56 @Column(name = "SEQ_APRESENTACAO_CEF", length = 4)
57 public Integer getSeqApresentacaoCef() {
58 return this.seqApresentacaoCef;
59 }
60
61 public void setSeqApresentacaoCef(Integer seqApresentacaoCef) {
62 this.seqApresentacaoCef = seqApresentacaoCef;
63 }
64
65 @Column(name = "ID_XML_CEF", length = 20)
66 public String getIdXmlCef() {
67 return this.idXmlCef;
68 }
69
70 public void setIdXmlCef(String idXmlCef) {
71 this.idXmlCef = idXmlCef;
72 }
73
74 @Column(name = "LABEL_CEF", length = 20)
75 public String getLabelCef() {
76 return this.labelCef;
77 }
78
79 public void setLabelCef(String labelCef) {
80 this.labelCef = labelCef;
81 }
82
83 @Column(name = "NOME_CEF", length = 20)
84 public String getNomeCef() {
85 return this.nomeCef;
86 }
87
88 public void setNomeCef(String nomeCef) {
89 this.nomeCef = nomeCef;
90 }
91
92 @Column(name = "NUM_CARACTERES_CEF", length = 5)
93 public Integer getNumCaracteresCef() {
94 return this.numCaracteresCef;
95 }
96
97 public void setNumCaracteresCef(Integer numCaracteresCef) {
98 this.numCaracteresCef = numCaracteresCef;
99 }
100
101 @ManyToOne(fetch = FetchType.LAZY)
102 @JoinColumn(name = "COD_CTD")
103 public ConfigTipoDadoCtd getConfigTipoDadoCtd() {
104 return this.configTipoDadoCtd;
105 }
106
107 public void setConfigTipoDadoCtd(ConfigTipoDadoCtd configTipoDadoCtd) {
108 this.configTipoDadoCtd = configTipoDadoCtd;
109 }
110
111 @ManyToOne(fetch = FetchType.LAZY)
112 @JoinColumn(name = "COD_CSEFV")
113 public ConfigSisExecFinanCsefv getConfigSisExecFinanCsefv() {
114 return this.configSisExecFinanCsefv;
115 }
116
117 public void setConfigSisExecFinanCsefv(ConfigSisExecFinanCsefv configSisExecFinanCsefv) {
118 this.configSisExecFinanCsefv = configSisExecFinanCsefv;
119 }
120
121 }