package com.sonic.lion.domain.req;

import com.sonic.lion.enums.PayChannel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author: code
 * @date: 2025/06/04
 * @Description:
 * @version: 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BindBankCardReq {

    @NotNull
    private PayChannel payChannel;

    @NotBlank
    private String cardNumber;

    @NotNull
    private Date dateOfExpiry;

    @NotBlank
    private String cvv;
}
