package com.yuchen.saas.parking.charge.api.vo.charge;

import com.yuchen.saas.parking.charge.api.entity.charge.SpcOccupyBlacklistRemindConfig;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * <p>
 * 占位黑名单车辆
 * </p>
 *
 * @author linyb
 * @since 2023-08-22
 */
@Data
public class SpcOccupyBlacklistRemindConfigDetailVO extends SpcOccupyBlacklistRemindConfig {


    @ApiModelProperty(name = "stationList", value = "电站列表")
    @NotNull(message = "电站列表不能为空")
    private List<OccupyBlacklistPushStation> stationList;


    @ApiModelProperty(name = "pushUserList", value = "推送人员列表")
    @NotNull(message = "推送人员列表不能为空")
    private List<OccupyBlacklistPushUser> pushUserList;

    @Data
    public static class OccupyBlacklistPushUser{
        @ApiModelProperty(name = "name", value = "推送名字")
        private String name;

        @ApiModelProperty(name = "phone", value = "推送手机号码")
        private String phone;
    }

    @Data
    public static class OccupyBlacklistPushStation{
        @ApiModelProperty(name = "stationName", value = "电站名字")
        private String stationName;

        @ApiModelProperty(name = "id", value = "电站id")
        private Long id;
    }

}
