package com.njcn.rdms.module.project.controller.admin.product.vo.member;

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

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 产品团队成员 Response VO")
@Data
public class ProductMemberRespVO {

    @Schema(description = "团队关系编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    private Long userId;

    @Schema(description = "用户昵称", example = "小王")
    private String userNickname;

    @Schema(description = "角色编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3100000002001")
    private Long roleId;

    @Schema(description = "角色名称", example = "产品经理")
    private String roleName;

    @Schema(description = "角色编码", example = "product_manager")
    private String roleCode;

    @Schema(description = "是否当前产品经理", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean managerFlag;

    @Schema(description = "状态（0有效 1失效）", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;

    @Schema(description = "加入时间")
    private LocalDateTime joinedTime;

    @Schema(description = "退出时间")
    private LocalDateTime leftTime;

    @Schema(description = "备注", example = "当前负责需求收敛")
    private String remark;

}
