package com.yunyan.system.domain;

import com.yunyan.common.annotation.Excel;

import com.yunyan.common.core.domain.BaseEntity;
import com.yunyan.common.core.domain.BaseEntityVo;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 管理部门与被管理部门的对象 sys_dept_manage
 *
 * @author yunyan
 * @date 2024-10-12
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "sys_dept_manage")
public class DeptManage extends BaseEntityVo
{
    private static final long serialVersionUID = 1L;

    /** 管理部门ID */
    @JsonSerialize(using= ToStringSerializer.class)
    @TableId(value = "dept_id_manage", type = IdType.INPUT)
    @ApiModelProperty(value = "管理部门ID", hidden = true)
    private Long deptIdManage;

    /** 被管理部门ID */
    @ApiModelProperty(value = "被管理部门ID", hidden = true)
    private Long deptId;



}
