package com.yuchen.saas.manage.user.api.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.yuchen.saas.manage.user.api.entity.User;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserVO对象", description = "UserVO对象")
public class UserVO extends User {
    private static final long serialVersionUID = 1L;


    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;


    @JsonIgnore
    private String password;


    private String tenantName;


    private String userTypeName;


    private String roleName;


    private String deptName;


    private String postName;


    private String sexName;


    private String userExt;
    private String idcardState;
    private String openid;
    private Integer applySource;



}
