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

import cn.iocoder.yudao.module.system.dal.dataobject.home.HomeElderlyFamilyDO;
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.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

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

@Schema(description = "管理后台 - 居家长者信息详情 Response VO")
@Data
public class HomeElderlyInfoDetailRespVO {

    private Long id;
    private String idCardType;
    private String idCard;
    private String elderName;
    private String elderQrCode;
    private String sex;
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime birthday;
    private String phone;
    private String telephone;
    private String liveSituation;
    private BigDecimal liveArea;
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime checkIn;
    private String currentLiveArea;
    private String currentLiveAddress;
    private String householdArea;
    private String householdAddress;
    private String householdType;
    private String ethnicity;
    private String maritalStatus;
    private String job;
    private String selfCareSituation;
    private String educationalLevel;
    private String disabilityType;
    private String incomeSource;
    private BigDecimal disposableIncome;
    private String medicalType;
    private String intendedElderlyCareMode;
    private String intendedService;
    private String problem;
    private String trackingRecord;
    private String isMigrate;
    private String isResident;
    private Integer isService;
    private Integer serviceTimesYear;
    private String healthStatus;
    private String bloodType;
    private String medicalInsuranceCard;
    private String eyesight;
    private String hearing;
    private String disease;
    private String medicalHistory;
    private String extraFile;
    @Schema(description = "账户余额")
    private String accountBalance;
    @Schema(description = "代金券")
    private String voucherBalance;
    @Schema(description = "现金")
    private String cashBalance;
    @Schema(description = "亲属列表")
    private List<HomeElderlyFamilyDO> familyList;
    @Schema(description = "紧急联系人")
    private HomeElderlyFamilyDO emergencyPerson;
    private Long tenantId;
}
