Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. @Column
  2. protected String nome;
  3.  
  4. @Column
  5. protected String identidade;
  6.  
  7. @Column
  8. protected String cpf;
  9.  
  10. @Column
  11. protected String data_cadastro;
  12.  
  13. @Column
  14. protected String naturalidade;
  15.  
  16. @Column
  17. protected String nacionalidade;
  18.  
  19. @Column(name="data_nascimento")
  20. protected String dataNascimento;
  21.  
  22. @Column(name="genero")
  23. protected String sexo;
  24.  
  25. @Column(name = "estado_civil")
  26. protected String estadoCivil;
  27.  
  28. @Column
  29. protected String conjuge;
  30.  
  31. @Column(name = "data_casamento")
  32. protected String dataCasamento;
  33.  
  34. @Column
  35. protected String escolaridade;
  36.  
  37. @Column(name = "nome_pai")
  38. protected String nomePai;
  39.  
  40. @Column(name = "nome_mae")
  41. protected String nomeMae;
  42.  
  43. @Column(name = "data_batismo")
  44. protected String dataBatismo;
  45.  
  46. @Column
  47. protected String situacao;
  48.  
  49. @Column
  50. protected String endereco;
  51.  
  52. @Column
  53. protected String numero;
  54.  
  55. @Column
  56. protected String bairro;
  57.  
  58. @Column
  59. protected String cidadeEndereco;
  60.  
  61. @Column
  62. protected String estadoEndereco;
  63.  
  64. @Column
  65. protected String celular;
  66.  
  67. @Column
  68. protected String telefone;
  69.  
  70. @Column
  71. protected String email;
  72.  
  73. //Getter e Setters
  74.  
  75.  
  76. @Entity
  77. @Table(name = "tbl_pessoas")
  78. public class PessoasModel extends Pessoas {
  79.  
  80. @Id
  81. @GeneratedValue(strategy = GenerationType.IDENTITY)
  82. @Column(name = "id")
  83. private int id_pessoa;
  84.  
  85. public int getId_pessoa() {
  86. return id_pessoa;
  87. }
  88.  
  89. public void setId_pessoa(int id_pessoa) {
  90. this.id_pessoa = id_pessoa;
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement