package cn.iocoder.yudao.server.controller.admin.vo.crm;

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - crm人员新增/修改 Request VO")
@Data
public class CrmPersonSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14264")
    private Long id;

    @Schema(description = "crm用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17966")
    @NotEmpty(message = "crm用户id不能为空")
    private String crmUserId;

    @Schema(description = "crm用户名称", example = "芋艿")
    private String crmUserName;

    @Schema(description = "crm unionid", example = "31455")
    private String crmUserUnionid;

    @Schema(description = "crm用户电话")
    private String crmUserPhone;

    @Schema(description = "crm邮箱")
    private String crmUserMail;

}