package com.fs.app.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class FsUserLoginParam implements Serializable {
    private String phone;

    private String password;

    @NotNull(message = "登录类型不能为空")
    private Integer loginType;//登录类型 1密码登录  2微信登录  3手机号一键登录

    private String code;

    private String jpushId;

    private String openId;

    private String loginDevice;
    private String source;

    /**-------------------------------------------------------------------------------**/
    //登录id
    private String appId;
    private Long userId;
    /** UniApp 一键登录（univerify）access_token，由客户端从 uni.login 获取 */
    private String accessToken;
    /** 荷叶无感登录签名用：时间戳(秒) */
    private Long timestamp;
    /** 荷叶无感登录签名用：签名 */
    private String sign;
}
