You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.1 KiB
60 lines
1.1 KiB
package com.yf.exam.modules.sys.depart.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* <p>
|
|
* 部门信息实体类
|
|
* </p>
|
|
*
|
|
* @author 聪明笨狗
|
|
* @since 2020-09-02 17:25
|
|
*/
|
|
@Data
|
|
@TableName("sys_depart")
|
|
public class SysDepart extends Model<SysDepart> {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* ID
|
|
*/
|
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
|
private String id;
|
|
|
|
/**
|
|
* 1公司2部门
|
|
*/
|
|
@TableField("dept_type")
|
|
private Integer deptType;
|
|
|
|
/**
|
|
* 所属上级
|
|
*/
|
|
@TableField("parent_id")
|
|
private String parentId;
|
|
|
|
/**
|
|
* 部门名称
|
|
*/
|
|
@TableField("dept_name")
|
|
private String deptName;
|
|
|
|
/**
|
|
* 部门编码
|
|
*/
|
|
@TableField("dept_code")
|
|
private String deptCode;
|
|
|
|
/**
|
|
* 排序
|
|
*/
|
|
private Integer sort;
|
|
|
|
}
|