Skip to content

Commit

Permalink
feat(12): Removed redudant files
Browse files Browse the repository at this point in the history
  • Loading branch information
bang-ngo committed Sep 4, 2021
1 parent 31535c1 commit ed67ff8
Show file tree
Hide file tree
Showing 14 changed files with 115 additions and 2,493 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/dist/
/build/
1,771 changes: 0 additions & 1,771 deletions nbproject/build-impl.xml

This file was deleted.

8 changes: 0 additions & 8 deletions nbproject/genfiles.properties

This file was deleted.

8 changes: 0 additions & 8 deletions nbproject/private/private.properties

This file was deleted.

99 changes: 0 additions & 99 deletions nbproject/project.properties

This file was deleted.

15 changes: 0 additions & 15 deletions nbproject/project.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions src/bangmaple/dao/EquipmentsDAO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bangmaple.dao;

import bangmaple.dto.EquipmentsDTO;
import bangmaple.jdbc.dao.base.Store;

/**
*
* @author bangmaple
*/
public class EquipmentsDAO extends Store<EquipmentsDTO, Integer> {

}
96 changes: 96 additions & 0 deletions src/bangmaple/dto/EquipmentsDTO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bangmaple.dto;

import bangmaple.jdbc.annotations.Column;
import bangmaple.jdbc.annotations.Id;
import bangmaple.jdbc.annotations.Table;

/**
*
* @author bangmaple
*/
@Table(name = "equipments", catalog = "LAB231_1")
public class EquipmentsDTO {

@Id
@Column(value = "equipment_id")
private int equipmentId;

@Column(value = "equipment_name")
private String equipmentName;

@Column(value = "equipment_color")
private String equipmentColor;

@Column(value = "equipment_quantity")
private int equipmentQuantity;

@Column(value="equipment_category_id")
private int equipmentCategoryId;

public EquipmentsDTO() {
}

public EquipmentsDTO(int equipmentId, String equipmentName, String equipmentColor, int equipmentQuantity, int equipmentCategoryId) {
this.equipmentId = equipmentId;
this.equipmentName = equipmentName;
this.equipmentColor = equipmentColor;
this.equipmentQuantity = equipmentQuantity;
this.equipmentCategoryId = equipmentCategoryId;
}

public int getEquipmentId() {
return equipmentId;
}

public void setEquipmentId(int equipmentId) {
this.equipmentId = equipmentId;
}

public String getEquipmentName() {
return equipmentName;
}

public void setEquipmentName(String equipmentName) {
this.equipmentName = equipmentName;
}

public String getEquipmentColor() {
return equipmentColor;
}

public void setEquipmentColor(String equipmentColor) {
this.equipmentColor = equipmentColor;
}

public int getEquipmentQuantity() {
return equipmentQuantity;
}

public void setEquipmentQuantity(int equipmentQuantity) {
this.equipmentQuantity = equipmentQuantity;
}

public int getEquipmentCategoryId() {
return equipmentCategoryId;
}

public void setEquipmentCategoryId(int equipmentCategoryId) {
this.equipmentCategoryId = equipmentCategoryId;
}

@Override
public String toString() {
return "EquipmentsDTO{" +
"equipmentId=" + equipmentId +
", equipmentName='" + equipmentName + '\'' +
", equipmentColor='" + equipmentColor + '\'' +
", equipmentQuantity=" + equipmentQuantity +
", equipmentCategoryId=" + equipmentCategoryId +
'}';
}
}
11 changes: 0 additions & 11 deletions src/bangmaple/jdbc/annotations/Queries.java

This file was deleted.

11 changes: 0 additions & 11 deletions src/bangmaple/jdbc/annotations/Query.java

This file was deleted.

4 changes: 0 additions & 4 deletions src/bangmaple/jdbc/paging/Page.java

This file was deleted.

Loading

0 comments on commit ed67ff8

Please sign in to comment.