daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package senac.wssocfuncionariocliente.entities;
  2.  
  3. import java.io.Serializable;
  4. import java.util.Date;
  5.  
  6. import javax.persistence.Column;
  7. import javax.persistence.Entity;
  8. import javax.persistence.SequenceGenerator;
  9.  
  10. @Entity
  11. @SequenceGenerator(initialValue=1, name="idgen", sequenceName="log_sequence")
  12. public class Log extends DataObject implements Serializable {
  13.  
  14.     private static final long serialVersionUID = 1L;
  15.  
  16.     @Column(name="id_funcionario")
  17.     private Integer idFuncionario;
  18.     @Column(name="dt_log")
  19.     private Date dataLog;
  20.  
  21.     public Log() {
  22.     }
  23.  
  24.     @Override
  25.     protected Integer getId() {
  26.         return id;
  27.     }
  28.  
  29.     @Override
  30.     protected void setId(Integer id) {
  31.         this.id = id;
  32.     }
  33.  
  34.     public Integer getIdFuncionario() {
  35.         return idFuncionario;
  36.     }
  37.  
  38.     public void setIdFuncionario(Integer idFuncionario) {
  39.         this.idFuncionario = idFuncionario;
  40.     }
  41.  
  42.     public Date getDataLog() {
  43.         return dataLog;
  44.     }
  45.  
  46.     public void setDataLog(Date dataLog) {
  47.         this.dataLog = dataLog;
  48.     }
  49.  
  50. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top