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

📄 agent.java

📁 使用spring ,hibernate 框架的稽查管理系统
💻 JAVA
字号:
package com.je.ims.hibernate;

import java.util.Date;


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

public class Agent  implements java.io.Serializable {


    // Fields    

     private AgentId id;
     private String userName;
     private String userUnit;
     private Date date1;
     private Date date2;
     private String agentName;
     private String agentUnit;


    // Constructors

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

	/** minimal constructor */
    public Agent(AgentId id, String userName, String userUnit, Date date1, String agentName, String agentUnit) {
        this.id = id;
        this.userName = userName;
        this.userUnit = userUnit;
        this.date1 = date1;
        this.agentName = agentName;
        this.agentUnit = agentUnit;
    }
    
    /** full constructor */
    public Agent(AgentId id, String userName, String userUnit, Date date1, Date date2, String agentName, String agentUnit) {
        this.id = id;
        this.userName = userName;
        this.userUnit = userUnit;
        this.date1 = date1;
        this.date2 = date2;
        this.agentName = agentName;
        this.agentUnit = agentUnit;
    }

   
    // Property accessors

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

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserUnit() {
        return this.userUnit;
    }
    
    public void setUserUnit(String userUnit) {
        this.userUnit = userUnit;
    }

    public Date getDate1() {
        return this.date1;
    }
    
    public void setDate1(Date date1) {
        this.date1 = date1;
    }

    public Date getDate2() {
        return this.date2;
    }
    
    public void setDate2(Date date2) {
        this.date2 = date2;
    }

    public String getAgentName() {
        return this.agentName;
    }
    
    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getAgentUnit() {
        return this.agentUnit;
    }
    
    public void setAgentUnit(String agentUnit) {
        this.agentUnit = agentUnit;
    }
   








}

⌨️ 快捷键说明

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