package cn.iocoder.yudao.module.system.controller.admin.yk.vo;

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.LocalDateTime;

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

@Schema(description = "管理后台 - 颐康中心长者信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class YkElderlyInfoPageReqVO extends PageParam {

    @Schema(description = "姓名", example = "张三")
    private String elderName;

    @Schema(description = "身份证号码", example = "440111199001011234")
    private String idCard;

    @Schema(description = "资助类型", example = "特困人员")
    private String supportType;

    @Schema(description = "资助状态", example = "有效")
    private String supportStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}