Ejemplo n.º 1
0
  @Override
  public Object clone() {
    GioiTinhClp clone = new GioiTinhClp();

    clone.setId(getId());
    clone.setTen(getTen());
    clone.setMa(getMa());
    clone.setNgayTao(getNgayTao());
    clone.setNguoiTao(getNguoiTao());
    clone.setNgaySua(getNgaySua());
    clone.setNguoiSua(getNguoiSua());
    clone.setDaXoa(getDaXoa());

    return clone;
  }
Ejemplo n.º 2
0
 public void setPrimaryKey(long primaryKey) {
   setId(primaryKey);
 }