1. package com.xf.beans;
    2. public class StateInfo {
    3. public int getId() {
    4. return id;
    5. }
    6. public void setId(int id) {
    7. this.id = id;
    8. }
    9. public String getState() {
    10. return state;
    11. }
    12. public void setState(String state) {
    13. this.state = state;
    14. }
    15. //状态编号
    16. private int id;
    17. //状态名称
    18. private String state;
    19. @Override
    20. public String toString() {//
    21. return "StateInfo{" +
    22. "id=" + id +
    23. ", state='" + state + '\'' +
    24. '}';
    25. }
    26. }