package com.starry.admin.modules.clerk.module.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.starry.admin.common.conf.StringTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 店员申请审核
 *
 * @author admin
 * @since 2024/5/19 下午4:21
 **/
@Data
@ApiModel(value = "店员资料审核返回数据", description = "店员资料审核信息的返回数据")
public class PlayClerkUserReviewReturnVo {

    @ApiModelProperty(value = "审核记录ID", example = "1")
    private String id;

    /**
     * 店员ID
     */
    @ApiModelProperty(value = "店员ID", example = "1")
    private String clerkId;

    /**
     * 店员昵称
     */
    @ApiModelProperty(value = "店员昵称", example = "小明")
    private String clerkNickname;

    /**
     * 店员头像
     */
    @ApiModelProperty(value = "店员头像", example = "https://example.com/avatar.jpg")
    private String clerkAvatar;

    /**
     * 微信号码
     */
    @ApiModelProperty(value = "微信号", example = "wx123456")
    private String weiChatCode;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", example = "13800138000")
    private String phone;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", example = "小明")
    private String nickname;

    /**
     * 性别[0:未知;1:男;2:女]
     */
    @ApiModelProperty(value = "性别", example = "1", notes = "0:未知;1:男;2:女")
    private String sex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", example = "25")
    private Integer age;

    /**
     * 所在省份
     */
    @ApiModelProperty(value = "所在省份", example = "广东省")
    private String province;

    /**
     * 所在城市
     */
    @ApiModelProperty(value = "所在城市", example = "深圳市")
    private String city;

    /**
     * 备注（相关经验）
     */
    @ApiModelProperty(value = "备注", example = "有3年相关经验")
    private String remark;

    /**
     * 音频
     */
    @ApiModelProperty(value = "音频", example = "https://example.com/audio.mp3")
    private String audio;

    /**
     * 照片
     */
    @TableField(typeHandler = StringTypeHandler.class)
    @ApiModelProperty(value = "照片", example = "[\"https://example.com/photo1.jpg\",\"https://example.com/photo2.jpg\"]")
    private List<String> album = new ArrayList<>();

    /**
     * 申请时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "申请时间", example = "2024-01-01 12:00:00")
    private LocalDateTime addTime;

    /**
     * 审核状态（0：未审核:1：审核通过，2：审核不通过）
     */
    @ApiModelProperty(value = "审核状态", example = "0", notes = "0：未审核:1：审核通过，2：审核不通过")
    private String reviewState;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间", example = "2024-01-02 12:00:00")
    private LocalDateTime reviewTime;

    /**
     * 审核人
     */
    @ApiModelProperty(value = "审核人", example = "admin")
    private String reviewBy;

    /**
     * 审核内容
     */
    @ApiModelProperty(value = "审核内容", example = "资料完整，通过审核")
    private String reviewCon;

    /**
     * 个性签名
     */
    @ApiModelProperty(value = "个性签名", example = "用心服务每一位客户")
    private String signature;

}
