mp3.java

来自「mp3购物网站 使用struts框架」· Java 代码 · 共 63 行

JAVA
63
字号
package com.yourcompany.dto;

import java.io.Serializable;

public class MP3 implements Serializable {
	private String id;
	private String type;
	private String price;
	private String quantity;

	public MP3() {
		super();

	}

	public MP3(String id, String type, String price) {
		super();
		this.id = id;
		this.type = type;
		this.price = price;
	}

	public MP3(String id, String type, String price, String quantity) {
		super();
		this.id = id;
		this.type = type;
		this.price = price;
		this.quantity = quantity;
	}

	public String getId() {
		return id;
	}

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

	public String getType() {
		return type;
	}

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

	public String getPrice() {
		return price;
	}

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

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}
}

⌨️ 快捷键说明

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