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

📄 asset.java

📁 struts做得固定资产管理系统 带毕业论文完整版
💻 JAVA
字号:
package com.qrsx.appcam.model;

public class Asset {

	private Integer id; // 主键

	private String code; // 代码

	private String name; // 资产名称

	private Integer assetTypeId; // 类型编号

	private String model; // 型号

	private Integer clientId; // 生产厂家

	private String leaveFactoryDate;// 出厂日期

	private String buyDate; // 购买日期

	private Integer life; // 预计使用年限

	private Double price; // 价格

	private Integer storageId; // 所属仓库

	private Integer addTypeId; // 增加方式

	private Integer state;// 资产状态 1为没有借出 2为借出 

	private AssetType assetType = new AssetType(); // 级联的资产类型对象

	private Client factory = new Client();// 级联的生产厂家类型对象

	private Storage storage = new Storage();// 级联的仓库类型对象

	private AddType addType = new AddType();// 级联的增加方式类型对象

	public Asset() {

	}

	/**
	 * @return the addType
	 */
	public AddType getAddType() {
		return addType;
	}

	/**
	 * @param addType
	 *            the addType to set
	 */
	public void setAddType(AddType addType) {
		this.addType = addType;
	}

	/**
	 * @return the addTypeId
	 */
	public Integer getAddTypeId() {
		return addTypeId;
	}

	/**
	 * @param addTypeId
	 *            the addTypeId to set
	 */
	public void setAddTypeId(Integer addTypeId) {
		this.addTypeId = addTypeId;
	}

	/**
	 * @return the assetType
	 */
	public AssetType getAssetType() {
		return assetType;
	}

	/**
	 * @param assetType
	 *            the assetType to set
	 */
	public void setAssetType(AssetType assetType) {
		this.assetType = assetType;
	}

	/**
	 * @return the assetTypeId
	 */
	public Integer getAssetTypeId() {
		return assetTypeId;
	}

	/**
	 * @param assetTypeId
	 *            the assetTypeId to set
	 */
	public void setAssetTypeId(Integer assetTypeId) {
		this.assetTypeId = assetTypeId;
	}

	/**
	 * @return the buyDate
	 */
	public String getBuyDate() {
		return buyDate;
	}

	/**
	 * @param buyDate
	 *            the buyDate to set
	 */
	public void setBuyDate(String buyDate) {
		this.buyDate = buyDate;
	}

	/**
	 * @return the clientId
	 */
	public Integer getClientId() {
		return clientId;
	}

	/**
	 * @param clientId
	 *            the clientId to set
	 */
	public void setClientId(Integer clientId) {
		this.clientId = clientId;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the factory
	 */
	public Client getFactory() {
		return factory;
	}

	/**
	 * @param factory
	 *            the factory to set
	 */
	public void setFactory(Client factory) {
		this.factory = factory;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the leaveFactoryDate
	 */
	public String getLeaveFactoryDate() {
		return leaveFactoryDate;
	}

	/**
	 * @param leaveFactoryDate
	 *            the leaveFactoryDate to set
	 */
	public void setLeaveFactoryDate(String leaveFactoryDate) {
		this.leaveFactoryDate = leaveFactoryDate;
	}

	/**
	 * @return the life
	 */
	public Integer getLife() {
		return life;
	}

	/**
	 * @param life
	 *            the life to set
	 */
	public void setLife(Integer life) {
		this.life = life;
	}

	/**
	 * @return the model
	 */
	public String getModel() {
		return model;
	}

	/**
	 * @param model
	 *            the model to set
	 */
	public void setModel(String model) {
		this.model = model;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the price
	 */
	public Double getPrice() {
		return price;
	}

	/**
	 * @param price
	 *            the price to set
	 */
	public void setPrice(Double price) {
		this.price = price;
	}

	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}

	/**
	 * @param state
	 *            the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}

	/**
	 * @return the storage
	 */
	public Storage getStorage() {
		return storage;
	}

	/**
	 * @param storage
	 *            the storage to set
	 */
	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	/**
	 * @return the storageId
	 */
	public Integer getStorageId() {
		return storageId;
	}

	/**
	 * @param storageId
	 *            the storageId to set
	 */
	public void setStorageId(Integer storageId) {
		this.storageId = storageId;
	}

}

⌨️ 快捷键说明

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