asset.java

来自「企业管理信息系统 myeclipse+mysql+hibernate+stru」· Java 代码 · 共 110 行

JAVA
110
字号
package com.emis.model.asset.hibernate;

import com.emis.model.hr.hibernate.Department;



/**
 * Asset generated by MyEclipse - Hibernate Tools
 */

public class Asset  implements java.io.Serializable {


    // Fields    

     private String id;
     private Department department;
     private Assettype assettype;
     private String name;
     private String price;
     private Short status;
     private String remarks;


    // Constructors

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

    
    /** full constructor */
    public Asset(String id, Department department, Assettype assettype, String name, String price, Short status, String remarks) {
        this.id = id;
        this.department = department;
        this.assettype = assettype;
        this.name = name;
        this.price = price;
        this.status = status;
        this.remarks = remarks;
    }

   
    // Property accessors

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

    public Department getDepartment() {
        return this.department;
    }
    
    public void setDepartment(Department department) {
        this.department = department;
    }

    public Assettype getAssettype() {
        return this.assettype;
    }
    
    public void setAssettype(Assettype assettype) {
        this.assettype = assettype;
    }

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

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

    public Short getStatus() {
        return this.status;
    }
    
    public void setStatus(Short status) {
        this.status = status;
    }

    public String getRemarks() {
        return this.remarks;
    }
    
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
   








}

⌨️ 快捷键说明

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