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;
}
