首页>代码>Springboot+thymeleaf对员工的增删改查操作 带分页功能>/springboot_crm(1)/src/main/java/com/qianfeng/entity/Department.java
package com.qianfeng.entity;

import java.util.List;

/**
 * 映射数据库department表
 */
public class Department {

    private Integer deptId;
    private String deptName;

    //一对多
    private List<Employee> employees;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public List<Employee> getEmployees() {
        return employees;
    }

    public void setEmployees(List<Employee> employees) {
        this.employees = employees;
    }

    @Override
    public String toString() {
        return "Department{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", employees=" + employees +
                '}';
    }
}
最近下载更多
牛牛要爆炸了  LV2 1月17日
oulingqiao  LV13 2023年12月10日
601601lmy  LV5 2023年10月20日
guoyan  LV12 2023年10月19日
syczzxj  LV9 2023年9月21日
万紫怡  LV4 2023年6月13日
遗留问题  LV2 2023年6月10日
ssh123  LV10 2023年4月18日
an1127  LV3 2023年4月4日
hbsoft2008  LV16 2023年3月10日
最近浏览更多
 LV7 3月29日
jay1992  LV14 3月11日
牛牛要爆炸了  LV2 1月17日
skook7  LV2 2023年12月14日
oulingqiao  LV13 2023年12月10日
胡哈哈 2023年11月14日
暂无贡献等级
wsgwly  LV5 2023年11月8日
abdkfksdkf  LV15 2023年10月12日
syczzxj  LV9 2023年9月21日
微信网友_6372890284232704  LV4 2023年8月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友