merchandiseinfo.java

来自「Struts+Hibernate+Spring入门教程及实例」· Java 代码 · 共 98 行

JAVA
98
字号
package mrgf.hibernate;

public class MerchandiseInfo {
    private String name;
    private int id;
    private String type;
    private int sortId;
    private String photo;
    private String head;
    private String introduce;
    private int price;
    private String remark;
    private int amount=1;
    public MerchandiseInfo() {
    }

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

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

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

    public void setSortId(int sortId) {
        this.sortId = sortId;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    public String getType() {
        return type;
    }

    public int getSortId() {
        return sortId;
    }

    public String getPhoto() {
        return photo;
    }

    public String getHead() {
        return head;
    }

    public String getIntroduce() {
        return introduce;
    }

    public int getPrice() {
        return price;
    }

    public String getRemark() {
        return remark;
    }

    public int getAmount() {
        return amount;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?