package cn.iocoder.yudao.module.system.controller.admin.biz.vo.elderlydangermaterialregister;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 危险物品登记分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ElderlyDangerMaterialRegisterPageReqVO extends PageParam {

    @Schema(description = "长者姓名")
    private String elderName;

    @Schema(description = "登记人")
    private String assessor;

    @Schema(description = "登记日期范围")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] assessDate;

    @Schema(description = "楼栋id")
    private Long buildId;

    @Schema(description = "楼层id")
    private Long floorId;

    @Schema(description = "机构id数组")
    private Long[] tenantIds;
}

