首页>代码>深入浅出Struts2书籍源码>/深入浅出Struts2源码/app01b/WEB-INF/src/app01b/Product.java
package app01b;

import java.io.Serializable;

public class Product implements Serializable {
    private String productName;

    private String description;

    private String price;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPrice() {
        return price;
    }

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

    public String save() {

        // add here code to save the product to the database

        return "success";
    }
}
最近下载更多
songweifly  LV1 2019年6月16日
朱云飞  LV13 2018年10月20日
zz12534  LV12 2018年7月6日
z924931408  LV25 2018年5月23日
676323640  LV4 2017年8月29日
knife037  LV1 2017年2月14日
dhddxp19780109-1  LV1 2016年10月17日
1044775980  LV1 2016年10月1日
穆尼尔丁  LV12 2016年5月26日
wujixing909  LV2 2016年2月18日
最近浏览更多
你脚上银铃响了  LV1 2021年10月27日
liuhongbing123  LV5 2020年7月13日
lsqhlj  LV1 2020年6月15日
songweifly  LV1 2019年6月16日
花花yayayaya  LV2 2019年6月13日
15101081698  LV3 2019年3月10日
789aaa  LV2 2019年1月2日
pengboooo  LV12 2018年12月22日
SDGWGs  LV1 2018年11月14日
zhaolihuiziyu  LV1 2018年10月22日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友