package cn.besteam.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
/**
|
* @Description: 用户-组织架构表
|
* @author: besteam
|
* @date: 2020-04-17
|
* @version: V1.0
|
*/
|
@Data
|
@TableName("sys_user_department")
|
public class SysUserDepartment implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId(type = IdType.AUTO)
|
@ApiModelProperty("id")
|
private java.lang.Integer id;
|
|
/**
|
* 用户id
|
*/
|
@ApiModelProperty("用户id")
|
private java.lang.Integer userId;
|
|
/**
|
* 部门id
|
*/
|
@ApiModelProperty("部门id")
|
private java.lang.Integer departmentId;
|
|
/**
|
* 部门树编码
|
*/
|
@ApiModelProperty("部门树编码")
|
private java.lang.String treeCode;
|
|
}
|