package com.yuchen.saas.payment.api.dto.setting.req;

import com.yuchen.saas.payment.api.dto.setting.PaymentSiteConfigDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhouhanwei
 * @create 2024/7/23 15:45
 */
@Data
public class PaymentSiteConfigSubmitReqDTO {

    /**
     * 区域类型1:项目;2:停车场;3:充电站;
     */
    @ApiModelProperty(name = "siteType", value = "区域类型1:项目;2:停车场;3:充电站;")
    @NotNull(message = "场站类型不能为空")
    private Integer siteType;
    /**
     * 场站id
     */
    @ApiModelProperty(name = "siteId", value = "场站id")
    @NotNull(message = "场站id不能为空")
    private Long siteId;
    /**
     * 收费模式
     */
    @ApiModelProperty(name = "collectFeeModel", value = "收费模式（1：平台代收，定期结算，2：客户直收，自动分层, 3:免费模式）")
    private String collectFeeModel;
    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    @NotNull(message = "客户id不能为空")
    private Long customerId;

    /**
     * 支付配置列表
     */
    @ApiModelProperty(name = "paymentSiteConfigDTOList", value = "支付配置列表")
    @NotNull(message = "支付配置列表不能为空")
    private List<PaymentSiteConfigDTO> paymentSiteConfigDTOList;
}
