日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

使用Servlet上传多张图片——实体层(ProductInfo.java)

發布時間:2023/12/3 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 使用Servlet上传多张图片——实体层(ProductInfo.java) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
package orz.treeSquirrels.entity; /*** 商品信息表的實體類* @author Administrator**/ public class ProductInfo {private int productId; //商品編號private String productName; //商品名稱private float price; //商品價格private String details; //商品詳情private int stock; //商品庫存private String fileName; //大圖private String fileName_1; //小圖1private String fileName_2; //小圖2private String fileName_3; //小圖3/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public int getProductId() {return productId;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param productId */public void setProductId(int productId) {this.productId = productId;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public String getProductName() {return productName;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param productName */public void setProductName(String productName) {this.productName = productName;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public float getPrice() {return price;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param price */public void setPrice(float price) {this.price = price;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public String getDetails() {return details;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param details */public void setDetails(String details) {this.details = details;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public int getStock() {return stock;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param stock */public void setStock(int stock) {this.stock = stock;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public String getFileName() {return fileName;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param fileName */public void setFileName(String fileName) {this.fileName = fileName;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public String getFileName_1() {return fileName_1;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param fileName_1 */public void setFileName_1(String fileName_1) {this.fileName_1 = fileName_1;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public String getFileName_2() {return fileName_2;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param fileName_2 */public void setFileName_2(String fileName_2) {this.fileName_2 = fileName_2;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @return type */public String getFileName_3() {return fileName_3;}/** * @author Mu Xiongxiong * @created 2017-10-11 下午7:11:16 * @param fileName_3 */public void setFileName_3(String fileName_3) {this.fileName_3 = fileName_3;}}

總結

以上是生活随笔為你收集整理的使用Servlet上传多张图片——实体层(ProductInfo.java)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。