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 timestamp;
    /**
     * 游客登录时间戳加盐
     */
    private String sign;

    private String appKey;

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


}
