Product.java
资源名称:JAVAshop.rar [点击查看]
上传用户:sxychgz
上传日期:2019-04-21
资源大小:4772k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- package com.bjsxt.shopping.product;
- import java.util.Date;
- import com.bjsxt.shopping.category.Category;
- public class Product {
- private int id;
- private String name;
- private String descr;
- private double normalPrice;
- private double memberPrice;
- private Date pdate;
- private int categoryId;
- private Category category;
- public int getCategoryId() {
- return categoryId;
- }
- public void setCategoryId(int categoryId) {
- this.categoryId = categoryId;
- }
- public String getDescr() {
- return descr;
- }
- public void setDescr(String descr) {
- this.descr = descr;
- }
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public double getMemberPrice() {
- return memberPrice;
- }
- public void setMemberPrice(double memberPrice) {
- this.memberPrice = memberPrice;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public double getNormalPrice() {
- return normalPrice;
- }
- public void setNormalPrice(double normalPrice) {
- this.normalPrice = normalPrice;
- }
- public Date getPdate() {
- return pdate;
- }
- public void setPdate(Date pdate) {
- this.pdate = pdate;
- }
- public void update() {
- }
- public Category getCategory() {
- return category;
- }
- public void setCategory(Category category) {
- this.category = category;
- }
- }