package cn.hztech.sdk.model.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户实体
 */
@Data
public class User {

    @JsonProperty("id")
    private String id;

    @JsonProperty("account")
    private String account;

    @JsonProperty("realName")
    private String realName;

    @JsonProperty("name")
    private String name;

    @JsonProperty("avatar")
    private String avatar;

    @JsonProperty("email")
    private String email;

    @JsonProperty("phone")
    private String phone;

    @JsonProperty("birthday")
    private String birthday;

    @JsonProperty("sex")
    private Integer sex;

    @JsonProperty("sexName")
    private String sexName;

    @JsonProperty("roleId")
    private String roleId;

    @JsonProperty("roleName")
    private String roleName;

    @JsonProperty("deptId")
    private String deptId;

    @JsonProperty("deptName")
    private String deptName;

    @JsonProperty("postId")
    private String postId;

    @JsonProperty("postName")
    private String postName;

    @JsonProperty("status")
    private Integer status;

    @JsonProperty("employmentStatus")
    private String employmentStatus;

    @JsonProperty("createTime")
    private String createTime;

    @JsonProperty("updateTime")
    private String updateTime;
}
