package com.xunmei.core.resumption.dto.protection;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xunmei.common.core.web.domain.PageDto;
import com.xunmei.core.resumption.domain.Protection;
import com.xunmei.core.resumption.vo.protection.ProtectionPageVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProtectionPageDto extends PageDto<ProtectionPageVo> {
    @ApiModelProperty("关键字")
    private String key;

    @ApiModelProperty("所属机构")
    private Long orgId;

    @ApiModelProperty("包含下级")
    private  Boolean checkSub=false;

    @ApiModelProperty("防区状态")
    private String status;

    /**
     * 布撤防时间
     */
    private Date[] dateRange;

    @JsonIgnore
    private Date startTime;
    @JsonIgnore
    private Date endTime;
}
