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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

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

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/14  10:41
 * @Description:
 * @Version: 4.0
 */

@Schema(description = "管理后台 - 详情和打印的 Response VO")
@Data
public class RetreatPrintRespVO {

    @Schema(description = "机构名称", example = "14373")
    private String tenantName;

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

    private Long elderlyId;

    private String creator;

    @Schema(description = "退住日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate retreatDate;

    @Schema(description = "费用截止日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate costDeadlineDate;

    @Schema(description = "退住原因", example = "不对")
    private String reason;

    @Schema(description = "退住描述", example = "随便")
    private String description;

    @Schema(description = "床位号", example = "1号楼>F2>F216房>40床")
    private String bedName;

    @Schema(description = "入住日期", example = "2024-03-16")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate checkInTime;

    @Schema(description = "证件号码", example = "4503311997101800")
    private String idCard;

    @Schema(description = "审批意见", example = "同意")
    private String approvalOpinion;

    @Schema(description = "审批人", example = "张三、李四")
    private String approvalNickname;

    @Schema(description = "发起人", example = "管理员")
    private String createNickname;

    @Schema(description = "查询标识，0-详情，1-打印", example = "0")
    private int queryType;

    @Schema(description = "租户id", example = "1")
    private Long tenantId;

}
