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

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class ChangePasswordParam {

    /**
     * Target user id – required when an admin changes another user's password.
     * Not required when a user changes their own password.
     */
    @JsonProperty("user_id")
    private String userId;

    /**
     * Current (old) password – required when user changes their own password.
     * Not required when an admin resets another user's password.
     */
    @JsonProperty("old_password")
    private String oldPassword;

    /**
     * New password in plain text.
     */
    @JsonProperty("new_password")
    private String newPassword;

}
