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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import org.nest.springwrap.core.mp.support.Query;

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

@Data
@ApiModel(value = "自动扣款绑定房源列")
public class PropertyHousesBindingQueryDto extends Query {

    @NotNull
    @Range(min = 1,max = 2)
    @ApiModelProperty(value = "查询入口1个人,2企业")
    private Integer bindingType;

    @NotNull
    @Range(min = 0,max = 1)
    @ApiModelProperty(value = "0未开通,1已开通")
    private Integer isAutoDeduction;
}
