workentity.java

来自「用Eclipse开发的桥吊无线管理系统.希望对大家有帮助:)」· Java 代码 · 共 58 行

JAVA
58
字号
/******************************************************
 * Created On 2005-7-17
 * Authorized to QZ and ZJG
 * 
 * Copyright 2005 The Linkingstar Developement Team
 ******************************************************/
package login_QD.view;

public class WorkEntity {
	private Long id; // 唯一识别码,在数据库里常为自动递增的ID列

	private String name; // 集装箱名字

	private String StartLocation; // 起始位置

	private String StopLocation; // 终止位置

	/**
	 * 以下代码为四个字段各自的set/get方法, 它们提供给实体类的使用者读写本类字段的方法 (这些方法可由eclipse自动生成)
	 */

	public Long getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStartLocation() {
		return StartLocation;
	}

	public void setStartLocation(String StartLocation) {
		this.StartLocation = StartLocation;
	}

	public String getStopLocation() {
		return StopLocation;
	}

	public void setStopLocation(String StopLocation) {
		this.StopLocation = StopLocation;
	}

	public void setFocus() {
		// TODO Auto-generated method stub

	}
}

⌨️ 快捷键说明

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