vehicle.java

来自「这是一个物流管理系统」· Java 代码 · 共 87 行

JAVA
87
字号
package bean;

import java.util.HashSet;
import java.util.Set;

/**
 *车辆表--运输
 */

public class Vehicle implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long vehicleid;
	private Employeeinfo employeeinfo;
	private Long vehiclesort;
	private Long vehiclestate;
	private Set<Outgrowth> outgrowths = new HashSet<Outgrowth>(0);

	// Constructors

	/** default constructor */
	public Vehicle() {
	}

	/** minimal constructor */
	public Vehicle(Employeeinfo employeeinfo, Long vehiclesort) {
		this.employeeinfo = employeeinfo;
		this.vehiclesort = vehiclesort;
	}

	/** full constructor */
	public Vehicle(Employeeinfo employeeinfo, Long vehiclesort,
			Long vehiclestate, Set<Outgrowth> outgrowths) {
		this.employeeinfo = employeeinfo;
		this.vehiclesort = vehiclesort;
		this.vehiclestate = vehiclestate;
		this.outgrowths = outgrowths;
	}

	// Property accessors

	public Long getVehicleid() {
		return this.vehicleid;
	}

	public void setVehicleid(Long vehicleid) {
		this.vehicleid = vehicleid;
	}

	public Employeeinfo getEmployeeinfo() {
		return this.employeeinfo;
	}

	public void setEmployeeinfo(Employeeinfo employeeinfo) {
		this.employeeinfo = employeeinfo;
	}

	public Long getVehiclesort() {
		return this.vehiclesort;
	}

	public void setVehiclesort(Long vehiclesort) {
		this.vehiclesort = vehiclesort;
	}

	public Long getVehiclestate() {
		return this.vehiclestate;
	}

	public void setVehiclestate(Long vehiclestate) {
		this.vehiclestate = vehiclestate;
	}

	public Set<Outgrowth> getOutgrowths() {
		return this.outgrowths;
	}

	public void setOutgrowths(Set<Outgrowth> outgrowths) {
		this.outgrowths = outgrowths;
	}

}

⌨️ 快捷键说明

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