Saturday, August 9, 2014

Maven + Hibernate + Setter + Getter


/**
 *
 * @author sakib4
 */
public class InvDclStockCategory  implements java.io.Serializable {
 
    private int id;
    private String description;
     private Date creatDate;
     private Date lastUpdateDate;
     private String inactive;

    public InvDclStockCategory() {
    }

   
    public InvDclStockCategory(int id) {
        this.id = id;
    }
    public InvDclStockCategory(int id, String description, Date creatDate,Date lastUpdateDate , String inactive ) {
       this.id = id;
       this.description = description;
       this.creatDate = creatDate;
       this.lastUpdateDate = lastUpdateDate;
       this.inactive = inactive;
    }
  
    public int getId() {
        return this.id;
    }
   
    public void setId(int id) {
        this.id = id;
    }
    public String getDescription() {
        return this.description;
    }
   
    public void setDescription(String description) {
        this.description = description;
    }
   
   
    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }
   
    public Date getCreatDate() {
       return this.creatDate = creatDate;
    }

   
    public Date getLastUpdateDate() {
        return this.lastUpdateDate;
    }
   
    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getInactive() {
        return this.inactive;
    }
   
    public void setInactive(String inactive) {
        this.inactive = inactive;
    }
   
}

No comments:

Post a Comment