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.
71 lines
1.3 KiB
71 lines
1.3 KiB
|
6 years ago
|
/**
|
||
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
||
|
|
*
|
||
|
|
* https://www.renren.io
|
||
|
|
*
|
||
|
|
* 版权所有,侵权必究!
|
||
|
|
*/
|
||
|
|
|
||
|
|
package com.epmet.entity;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||
|
|
import com.epmet.commons.mybatis.entity.BaseEntity;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.EqualsAndHashCode;
|
||
|
|
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 部门管理
|
||
|
|
*
|
||
|
|
* @author Mark sunlightcs@gmail.com
|
||
|
|
* @since 1.0.0
|
||
|
|
*/
|
||
|
|
@Data
|
||
|
|
@EqualsAndHashCode(callSuper=false)
|
||
|
|
@TableName("sys_dept")
|
||
|
|
public class SysDeptEntity extends BaseEntity {
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 上级ID
|
||
|
|
*/
|
||
|
|
private Long pid;
|
||
|
|
/**
|
||
|
|
* 所有上级ID,用逗号分开
|
||
|
|
*/
|
||
|
|
private String pids;
|
||
|
|
/**
|
||
|
|
* 部门名称
|
||
|
|
*/
|
||
|
|
private String name;
|
||
|
|
/**
|
||
|
|
* 排序
|
||
|
|
*/
|
||
|
|
private Integer sort;
|
||
|
|
/**
|
||
|
|
* 删除标识 0:未删除 1:删除
|
||
|
|
*/
|
||
|
|
@TableField(fill = FieldFill.INSERT)
|
||
|
|
private Integer delFlag;
|
||
|
|
/**
|
||
|
|
* 更新者
|
||
|
|
*/
|
||
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||
|
|
private Long updater;
|
||
|
|
/**
|
||
|
|
* 更新时间
|
||
|
|
*/
|
||
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||
|
|
private Date updateDate;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 上级部门名称
|
||
|
|
*/
|
||
|
|
@TableField(exist = false)
|
||
|
|
private String parentName;
|
||
|
|
|
||
|
|
}
|