⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.java

📁 java 和flex的整合,主要是spring和flex的整合,不可多得啊
💻 JAVA
字号:
/* * Copyright 2002-2009 the original author or authors. *  * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *  *   http://www.apache.org/licenses/LICENSE-2.0 *  * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package org.springframework.flex.samples.product;import java.io.Serializable;/** *  * @author Christophe Coenraets * @author Jeremy Grelle */public class Product implements Serializable {    static final long serialVersionUID = 103844514947365244L;    private int productId;    private String name;    private String description;    private String image;    private String category;    private double price;    private int qty;    public Product() {    }    public Product(int productId, String name, String description, String image, String category, double price, int qty) {        this.productId = productId;        this.name = name;        this.description = description;        this.image = image;        this.category = category;        this.price = price;        this.qty = qty;    }    public String getCategory() {        return this.category;    }    public void setCategory(String category) {        this.category = category;    }    public String getDescription() {        return this.description;    }    public void setDescription(String description) {        this.description = description;    }    public String getImage() {        return this.image;    }    public void setImage(String image) {        this.image = image;    }    public String getName() {        return this.name;    }    public void setName(String name) {        this.name = name;    }    public double getPrice() {        return this.price;    }    public void setPrice(double price) {        this.price = price;    }    public int getProductId() {        return this.productId;    }    public void setProductId(int productId) {        this.productId = productId;    }    public int getQty() {        return this.qty;    }    public void setQty(int qty) {        this.qty = qty;    }}

⌨️ 快捷键说明

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