Skip to content

Commit ed67ff8

Browse files
committed
feat(12): Removed redudant files
1 parent 31535c1 commit ed67ff8

14 files changed

Lines changed: 115 additions & 2493 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist/
2+
/build/

nbproject/build-impl.xml

Lines changed: 0 additions & 1771 deletions
This file was deleted.

nbproject/genfiles.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

nbproject/private/private.properties

Lines changed: 0 additions & 8 deletions
This file was deleted.

nbproject/project.properties

Lines changed: 0 additions & 99 deletions
This file was deleted.

nbproject/project.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package bangmaple.dao;
7+
8+
import bangmaple.dto.EquipmentsDTO;
9+
import bangmaple.jdbc.dao.base.Store;
10+
11+
/**
12+
*
13+
* @author bangmaple
14+
*/
15+
public class EquipmentsDAO extends Store<EquipmentsDTO, Integer> {
16+
17+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package bangmaple.dto;
7+
8+
import bangmaple.jdbc.annotations.Column;
9+
import bangmaple.jdbc.annotations.Id;
10+
import bangmaple.jdbc.annotations.Table;
11+
12+
/**
13+
*
14+
* @author bangmaple
15+
*/
16+
@Table(name = "equipments", catalog = "LAB231_1")
17+
public class EquipmentsDTO {
18+
19+
@Id
20+
@Column(value = "equipment_id")
21+
private int equipmentId;
22+
23+
@Column(value = "equipment_name")
24+
private String equipmentName;
25+
26+
@Column(value = "equipment_color")
27+
private String equipmentColor;
28+
29+
@Column(value = "equipment_quantity")
30+
private int equipmentQuantity;
31+
32+
@Column(value="equipment_category_id")
33+
private int equipmentCategoryId;
34+
35+
public EquipmentsDTO() {
36+
}
37+
38+
public EquipmentsDTO(int equipmentId, String equipmentName, String equipmentColor, int equipmentQuantity, int equipmentCategoryId) {
39+
this.equipmentId = equipmentId;
40+
this.equipmentName = equipmentName;
41+
this.equipmentColor = equipmentColor;
42+
this.equipmentQuantity = equipmentQuantity;
43+
this.equipmentCategoryId = equipmentCategoryId;
44+
}
45+
46+
public int getEquipmentId() {
47+
return equipmentId;
48+
}
49+
50+
public void setEquipmentId(int equipmentId) {
51+
this.equipmentId = equipmentId;
52+
}
53+
54+
public String getEquipmentName() {
55+
return equipmentName;
56+
}
57+
58+
public void setEquipmentName(String equipmentName) {
59+
this.equipmentName = equipmentName;
60+
}
61+
62+
public String getEquipmentColor() {
63+
return equipmentColor;
64+
}
65+
66+
public void setEquipmentColor(String equipmentColor) {
67+
this.equipmentColor = equipmentColor;
68+
}
69+
70+
public int getEquipmentQuantity() {
71+
return equipmentQuantity;
72+
}
73+
74+
public void setEquipmentQuantity(int equipmentQuantity) {
75+
this.equipmentQuantity = equipmentQuantity;
76+
}
77+
78+
public int getEquipmentCategoryId() {
79+
return equipmentCategoryId;
80+
}
81+
82+
public void setEquipmentCategoryId(int equipmentCategoryId) {
83+
this.equipmentCategoryId = equipmentCategoryId;
84+
}
85+
86+
@Override
87+
public String toString() {
88+
return "EquipmentsDTO{" +
89+
"equipmentId=" + equipmentId +
90+
", equipmentName='" + equipmentName + '\'' +
91+
", equipmentColor='" + equipmentColor + '\'' +
92+
", equipmentQuantity=" + equipmentQuantity +
93+
", equipmentCategoryId=" + equipmentCategoryId +
94+
'}';
95+
}
96+
}

0 commit comments

Comments
 (0)