ssm使用全注解实现增删改查案例——Dept

package org.entity;

import java.util.List;
/**
 * 
*    
* 项目名称:test_myabtis_zhujie   
* 类名称:Dept   
* 类描述:   部门表的实体类
* 创建人:Mu Xiongxiong  
* 创建时间:2018-3-16 下午4:33:10   
* 修改人:Mu Xiongxiong   
* 修改时间:2018-3-16 下午4:33:10   
* 修改备注:   
* @version    
*
 */
public class Dept {
    /**
    * @Fields id :该字段的意思:编号
    */
    private Integer id;

    /**
    * @Fields name :该字段的意思:名称
    */
    private String name;

    /**
    * @Fields loc :该字段的意思:所在地址
    */
    private String loc;

    /**
    * @Fields empList :该字段的意思:员工信息
    */
    private List<Emp> empList; 

    public Integer getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

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

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public List<Emp> getEmpList() {
        return empList;
    }

    public void setEmpList(List<Emp> empList) {
        this.empList = empList;
    }

}
posted @ 2018-03-18 21:25  穆雄雄  阅读(283)  评论(0编辑  收藏  举报