package cn.superdesk.uniorder.dto.param.operationCenter.payment;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author : zx
 * @Create : 2023/3/29 11:11
 * Description : 新增平台支付方式请求参数 封装
 */
@Data
public class OperationCenterPaymentParam implements Serializable {
    private Long id;
    //平台支付方式名称
    @NotBlank(message = "支付名称不能为空")
    private String payName;
    //是否组合支付 0-否 1-是
    @NotNull(message = "组合支付不能为空")
    private Integer isCombined;
    //状态 0-停用 1-启用
    @NotNull(message = "状态不能为空")
    private Integer enabled;

    @Valid
    List<OperationCenterPaymentBizParam> operationCenterPaymentBizParamList;

}
