package cn.iocoder.yudao.module.system.api.bpm.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

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

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/13  16:40
 * @Description:
 * @Version: 4.0
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ElderlyCheckinRecordPageReqVO extends PageParam {

    private Long elderlyId;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] checkInTime;

    // 审批状态，1-审批中，2-审批通过，3-审批不通过，4-已取消，5-系统审批
    private Integer status;

    private Integer inStatus;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private String elderName;

    private Integer elderSex;

}
