Brand.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package com.lovecoding.pojo;
  2. public class Brand {
  3. private int id;
  4. private String brandName;
  5. private String companyName;
  6. private int ordered;
  7. private String description;
  8. private int status;
  9. public int getId() {
  10. return id;
  11. }
  12. public void setId(int id) {
  13. this.id = id;
  14. }
  15. public String getBrandName() {
  16. return brandName;
  17. }
  18. public void setBrandName(String brandName) {
  19. this.brandName = brandName;
  20. }
  21. public String getCompanyName() {
  22. return companyName;
  23. }
  24. public void setCompanyName(String companyName) {
  25. this.companyName = companyName;
  26. }
  27. public int getOrdered() {
  28. return ordered;
  29. }
  30. public void setOrdered(int ordered) {
  31. this.ordered = ordered;
  32. }
  33. public String getDescription() {
  34. return description;
  35. }
  36. public void setDescription(String description) {
  37. this.description = description;
  38. }
  39. public int getStatus() {
  40. return status;
  41. }
  42. public void setStatus(int status) {
  43. this.status = status;
  44. }
  45. public String toString() {
  46. return "Brand{" +
  47. "id=" + id +
  48. ", brandName='" + brandName + '\'' +
  49. ", companyName='" + companyName + '\'' +
  50. ", ordered=" + ordered +
  51. ", description='" + description + '\'' +
  52. ", status=" + status +
  53. '}';
  54. }
  55. }