package com.zhiqiyun.open.mvc.params.equipment;

import com.zhiqiyun.open.core.models.RangeDate;
import com.zhiqiyun.open.mvc.params.QueryPageParams;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class QueryEquipmentPassengerParams extends QueryPageParams {
    private Long placeBaseInfoId;
    private String brief;
    private RangeDate rangeDate;

    public void setRangeDate(List<String> rangeDate) {
        this.rangeDate = RangeDate.build(rangeDate);
    }
}
