package com.dji.sample.manage.model.dto;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginDTO {

    @JsonAlias("workspaceId")
    private String workspaceId;

    @NonNull
    private String username;

    @NonNull
    private String password;

    @NonNull
    private Integer flag;

    private String orgId;

    private String orgName;

    private String ipAddress;

    /**
     * 浏览器的用户代理信息
     */
    private String userAgent;

    /**
     * 游客登录时间戳
     */
    private String timestamp;
    /**
     * 游客登录时间戳加盐
     */
    private String sign;

    private String appKey;

    /**
     * 随机字符串
     */
    private String nonce;


}
