Skip to content

Commit

Permalink
CodeSendingRequest phoneNumber JsonProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
pierfani committed Oct 17, 2024
1 parent bce26ab commit 6fcfc2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/it/pierfani/smsapi/dto/CodeSendingRequest.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package it.pierfani.smsapi.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

@Data
public class CodeSendingRequest {
@JsonProperty("phone_number")
private String phoneNumber;
private String from;
private String content;
Expand Down

0 comments on commit 6fcfc2f

Please sign in to comment.