SysUserDepart.java 904 字节
package com.skua.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_user_depart")
public class SysUserDepart implements Serializable {
	private static final long serialVersionUID = 1L;

	/**主键id*/
    @TableId(type = IdType.UUID)
	private String id;
	/**用户id*/
	private String userId;
	/**部门id*/
	private String depId;
	/**分管部门ID*/
	private String depIds;
	public SysUserDepart(String id, String userId, String depId,String depIds) {
		super();
		this.id = id;
		this.userId = userId;
		this.depId = depId;
		this.depIds = depIds;
	}

	public SysUserDepart(String id, String departId,String departIds) {
		this.userId = id;
		this.depId = departId;
		this.depIds = departIds;
	}
}