首页>代码>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 +
                '}';
    }
}
最近下载更多
dane168  LV8 2月17日
xin xie  LV1 2024年6月13日
牛牛要爆炸了  LV2 2024年1月17日
oulingqiao  LV13 2023年12月10日
601601lmy  LV5 2023年10月20日
guoyan  LV12 2023年10月19日
syczzxj  LV10 2023年9月21日
万紫怡  LV4 2023年6月13日
遗留问题  LV2 2023年6月10日
ssh123  LV10 2023年4月18日
最近浏览更多
15578157792  LV7 4月25日
dane168  LV8 2月17日
Long1022gnoL 1月17日
暂无贡献等级
依旧原地徘徊  LV12 1月16日
krispeng  LV14 2024年11月24日
TY0165  LV20 2024年6月24日
颜菜菜  LV2 2024年6月19日
计科一班  LV7 2024年6月19日
17380184110 2024年6月18日
暂无贡献等级
xin xie  LV1 2024年6月13日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友