1. 程式人生 > >頻道管理----bean

頻道管理----bean

public class Chan {
    private int id;
    private String name;
    private String parma;
    private int type;
    public Chan() {
    }

    public Chan(int id, String name, String parma,int type) {
        this.id = id;
        this.name = name;
        this.parma = parma;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getParma() {
        return parma;
    }

    public int getType() {
        return type;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setParma(String parma) {
        this.parma = parma;
    }

    public void setType(int type) {
        this.type = type;
    }
}