zoukankan      html  css  js  c++  java
  • 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;
        }
    
    }
  • 相关阅读:
    关于最近
    Cryptography Application Block
    关于修改SQL SERVER 登陆模式
    我与软件工程
    JAVA之路(一)
    C#基础:类的继承与多态
    简述java语言的特点
    简述java虚拟机的工作原理
    阿里云盾特点及防DDoS攻击服务介绍
    智能DNS
  • 原文地址:https://www.cnblogs.com/a1111/p/12816059.html
Copyright © 2011-2022 走看看