package cc.iotkit.manager.dto.vo.userInfo;

import cc.iotkit.common.api.BaseDto;
import cc.iotkit.data.model.TbUserInfo;
import cc.iotkit.model.UserInfo;
import cc.iotkit.model.iccid.DIccidRecordDO;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@ApiModel(value = "UserInfoPageReqVO")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserInfo.class, reverseConvertGenerate = false)
@ToString(callSuper = true)
public class UserInfoPageReqVO extends BaseDto implements Serializable {
    private static final long serialVersionUID = -1L;
    public static final int USER_TYPE_PLATFORM = 0;
    public static final int USER_TYPE_CLIENT = 1;

    private Long id;

    /**
     * 用户账号
     */
    private String uid;

    /**
     * 密钥（密码加密后的内容）
     */
    private String secret;
    private String site;
    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 性别 0-未知 1-male,2-female
     */
    private Integer gender;

    /**
     * 头像地址
     */
    private String avatarUrl;

    private String email;

    private String address;

    /**
     * 当前家庭Id
     */
    private String currHomeId;

    /**
     * 用户类型
     * 0:平台用户
     * 1:终端用户
     */
    private Integer type;

}
