package com.njcn.msgpush.module.system.controller.admin.dept.vo.orgleader;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 组织负责人关系 Response VO")
@Data
public class OrgLeaderRelationRespVO {

    @Schema(description = "负责人关系编号", example = "1024")
    private Long id;

    @Schema(description = "组织节点 ID", example = "100")
    private Long deptId;

    @Schema(description = "负责人用户 ID", example = "1")
    private Long userId;

    @Schema(description = "负责人用户昵称", example = "管理员")
    private String userNickname;

    @Schema(description = "生效开始时间")
    private LocalDateTime effectiveFrom;

    @Schema(description = "生效结束时间")
    private LocalDateTime effectiveUntil;

    @Schema(description = "备注", example = "部门负责人")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
