package com.storlead.user.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @program: sp-sales
 * @description:
 * @author: chenkq
 * @create: 2022-08-23 17:55
 */
@Data
public class SetUserDetailDTO implements Serializable {

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "岗位ID")
    private Long jobId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "岗位ID")
    private String jobName;

    @ApiModelProperty(value = "部门")
    private String deptName;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "部门岗位职责")
    private String deptJobDes;

    @ApiModelProperty(value = "岗位职责")
    private String jobDes;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate birthday;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "姓名")
    private String realName;


    @ApiModelProperty(value = "分公司ID")
    private Long subCompanyId;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "直接上级ID")
    private Long managerId;

    @ApiModelProperty(value = "领导路由")
    private String managers;

    private String idNum;
    private String address;
}
