package com.toyshop.dto;

import jakarta.validation.constraints.NotBlank;

public class AddressRequest {
  @NotBlank
  private String receiverName;
  @NotBlank
  private String receiverPhone;
  @NotBlank
  private String detail;
  private boolean isDefault;

  public String getReceiverName() { return receiverName; }
  public void setReceiverName(String receiverName) { this.receiverName = receiverName; }
  public String getReceiverPhone() { return receiverPhone; }
  public void setReceiverPhone(String receiverPhone) { this.receiverPhone = receiverPhone; }
  public String getDetail() { return detail; }
  public void setDetail(String detail) { this.detail = detail; }
  public boolean isDefault() { return isDefault; }
  public void setDefault(boolean aDefault) { isDefault = aDefault; }
}
