package com.yuchen.saas.park.api.vo.property;

import com.yuchen.saas.park.api.entity.property.PropertyDirectReduction;
import com.yuchen.saas.park.api.entity.property.PropertyDirectReductionDetail;
import com.yuchen.saas.park.api.entity.property.PropertyDirectReductionHouseLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "减免活动-直接减免")
public class PropertyDirectReductionDetailVo extends PropertyDirectReduction {

    @ApiModelProperty(name = "parkName", value = "园区名称")
    private String parkName;

    @ApiModelProperty(name = "directReductionHouseList", value = "减免范围")
    private List<PropertyDirectReductionHouseLogItemVo> directReductionHouseList;

    @ApiModelProperty(name = "directReductionDetailList", value = "减免费用")
    private List<PropertyDirectReductionDetailItemVo> directReductionDetailList;

    @Data
    public static class PropertyDirectReductionDetailItemVo extends PropertyDirectReductionDetail{
        @ApiModelProperty(name = "feeStandardName", value = "收费标准名称")
        private String feeStandardName;
    }

    @Data
    public static class PropertyDirectReductionHouseLogItemVo extends PropertyDirectReductionHouseLog{
        @ApiModelProperty(name = "sourceName", value = "添加源名称")
        private String sourceName;
    }
}
