package cn.iocoder.yudao.module.system.controller.admin.biz.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 javax.validation.constraints.NotNull;
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 ElderlyInfoPageReqVO extends PageParam {

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

    @Schema(description = "长者性别", example = "男")
    private Integer elderSex;

    @Schema(description = "入住状态", example = "1")
    private Integer inStatus;

    @Schema(description = "楼栋ID", example = "1")
    private Long buildId;

    @Schema(description = "楼层ID", example = "12")
    private Long floorId;

    @Schema(description = "房间名称", example = "F303")
    private String roomName;

    @Schema(description = "护理级别ID", example = "1")
    private Long nurseLevelId;

    @Schema(description = "入住类型", example = "1")
    private Integer inStatusType;

    @Schema(description = "办理状态", example = "状态,1：待入住办理 2：已入住")
    private Integer status;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @Schema(description = "申请时间")
    private LocalDateTime[] checkInTime;

    @Schema(description = "变更类型人员查询", example = "0-转院变更，1-床位变更，2-护理变更, 3-餐饮变更")
//    @NotNull(message = "变更类型人员查询不能为空")
    private Integer identification;

    @Schema(description = "对象标签")
    private Integer label;

    @Schema(description = "服务对象状态，0：禁用 1：启用", example = "1")
    private Integer serviceStatus;

    @Schema(description = "长护等级")
    private Integer longCareGrade;

    @Schema(description = "能力等级")
    private Integer capabilityLevel;

    @Schema(description = "联系方式")
    private String telPhone;

    @Schema(description = "排序字段")
    private String prop;

    @Schema(description = "排序方式")
    private String order;

    @Schema(description = "排序")
    private String orderByClause;

    @Schema(description = "床位id")
    private Long bedId;
}


