package com.fs.qw.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CompanyTransferDTO {

    @NotNull(message = "接替员工不能为空")
    @ApiModelProperty("接替企微用户")
    private Long qwUserId;

    @ApiModelProperty("转移外部联系人")
    private List<Long> ids;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("转移类型 0.转移ids外部联系人 1.转移qwUserName员工下外部联系人")
    private Integer type = 0;

    @NotNull(message = "转接类型不能为空")
    @ApiModelProperty("转接类型 1在职转接 2离职转接")
    private Integer transferType;

    @ApiModelProperty("原员工企微ID")
    private Long oldQwUserId;

    @ApiModelProperty("是否需要清除标签")
    private Integer needClearTag = 0;
}
