|
@@ -0,0 +1,79 @@
|
|
|
+package com.lovecoding.doman;
|
|
|
+
|
|
|
+public class Brand {
|
|
|
+ private int id;
|
|
|
+ private String brandName;
|
|
|
+ private String companyName;
|
|
|
+ private int ordered;
|
|
|
+ private String description;
|
|
|
+ private int status;
|
|
|
+
|
|
|
+ public Brand(int i, String brandName, String companyName, int i1, String description, int i2) {
|
|
|
+ this.id = i;
|
|
|
+ this.brandName = brandName;
|
|
|
+ this.companyName = companyName;
|
|
|
+ this.description = description;
|
|
|
+ this.ordered = i1;
|
|
|
+ this.status = i2;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(int id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBrandName() {
|
|
|
+ return brandName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBrandName(String brandName) {
|
|
|
+ this.brandName = brandName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCompanyName() {
|
|
|
+ return companyName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCompanyName(String companyName) {
|
|
|
+ this.companyName = companyName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getOrdered() {
|
|
|
+ return ordered;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrdered(int ordered) {
|
|
|
+ this.ordered = ordered;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getDescription() {
|
|
|
+ return description;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDescription(String description) {
|
|
|
+ this.description = description;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(int status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "Brand{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", brandName='" + brandName + '\'' +
|
|
|
+ ", companyName='" + companyName + '\'' +
|
|
|
+ ", ordered=" + ordered +
|
|
|
+ ", description='" + description + '\'' +
|
|
|
+ ", status=" + status +
|
|
|
+ '}';
|
|
|
+ }
|
|
|
+}
|