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

📄 shipment.java

📁 这是一个小程序 网上书店用的 我们学生做的一个小实验
💻 JAVA
字号:
package bean;
/** 
 * This bean represents a shipment.
 *
 * @author  ProjectGroup
 * @version 1.0.0
 */
public class Shipment {

	private String ReceiveName;
	private String Country;
	private String State;
	private String City;
	private String Place;
	private String MailType;
	private String Date;
	/**
	 * @param receiveName
	 * @param country
	 * @param state
	 * @param city
	 * @param place
	 * @param mailType
	 * @param date
	 */
	public Shipment(String receiveName, String country, String state, String city, String place, String mailType, String date) {
		ReceiveName = receiveName;
		Country = country;
		State = state;
		City = city;
		Place = place;
		MailType = mailType;
		Date = date;
	}
	public Shipment(){
		ReceiveName = null;
		Country = null;
		State = null;
		City = null;
		Place = null;
		MailType = null;
		Date = null;
	}
	/**
	 * @return the city
	 */
	public String getCity() {
		return City;
	}
	/**
	 * @param city the city to set
	 */
	public void setCity(String city) {
		City = city;
	}
	/**
	 * @return the country
	 */
	public String getCountry() {
		return Country;
	}
	/**
	 * @param country the country to set
	 */
	public void setCountry(String country) {
		Country = country;
	}
	/**
	 * @return the date
	 */
	public String getDate() {
		return Date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		Date = date;
	}
	/**
	 * @return the mailType
	 */
	public String getMailType() {
		return MailType;
	}
	/**
	 * @param mailType the mailType to set
	 */
	public void setMailType(String mailType) {
		MailType = mailType;
	}
	/**
	 * @return the place
	 */
	public String getPlace() {
		return Place;
	}
	/**
	 * @param place the place to set
	 */
	public void setPlace(String place) {
		Place = place;
	}
	/**
	 * @return the receiveName
	 */
	public String getReceiveName() {
		return ReceiveName;
	}
	/**
	 * @param receiveName the receiveName to set
	 */
	public void setReceiveName(String receiveName) {
		ReceiveName = receiveName;
	}
	/**
	 * @return the state
	 */
	public String getState() {
		return State;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(String state) {
		State = state;
	}
}

⌨️ 快捷键说明

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