package com.yuchen.saas.manage.system.api.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "UserInfoResponse", description = "UserInfoResponse")
public class OrgUserInfoResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

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

    @ApiModelProperty(value = "性别:1是男,2是女3未知")
    private Integer sex;

    @ApiModelProperty(value = "性别名称")
    private String sexName;

    @ApiModelProperty(value = "联系方式:手机号")
    private String phone;

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

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

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "职位类型:1是管理员2是普通员工")
    private Integer jobType;

    @ApiModelProperty(value = "职位类型名称")
    private String jobName;

    @ApiModelProperty(value = "绑定账户")
    private String accountName;

    @ApiModelProperty(value = "人员状态")
    private Integer status;

    @ApiModelProperty(value = "状态名称")
    private String statusName;

    @ApiModelProperty(value = "创建人ID")
    private Long createUser;

    @ApiModelProperty(value = "创建人")
    private String createName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
