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

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

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

@Schema(description = "管理后台 - 长者应急跟踪新增/修改 Request VO")
@Data
public class EmergencyTrackingSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11681")
    private Long id;

    @Schema(description = "长者ID", example = "20172")
    private Long elderId;

    @Schema(description = "长者名称", example = "李四")
    private String elderName;

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

    @Schema(description = "床位ID", example = "16291")
    private Long bedId;

    @Schema(description = "出生日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate birthday;

    @Schema(description = "跟踪创建人")
    private String createdBy;

    @Schema(description = "接收时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
    private Date receptionTime;

    @Schema(description = "接收内容")
    private String receptionContent;

    @Schema(description = "当时是否可处理")
    private Integer isCanHandle;

    @Schema(description = "处理过程")
    private String treatingProcesses;

    @Schema(description = "紧急就医")
    private Integer emergencyMedicalTreatment;

    @Schema(description = "就医陪同人")
    private String accompanyingPerson;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "应急跟踪附件")
    private String files;

    @Schema(description = "语音备注")
    private String voiceRemarks;

    @Schema(description = "随访人员")
    private String followUpPersonnel;

    @Schema(description = "随访同行人")
    private String followUpFellow;

    @Schema(description = "随访时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
    private Date followUpTime;

    @Schema(description = "身体情况")
    private String physicalCondition;

    @Schema(description = "跟踪说明")
    private String traceSpecification;

    @Schema(description = "跟踪语音备注")
    private String traceVoiceRemarks;

    @Schema(description = "跟踪附件")
    private String traceFiles;

    @Schema(description = "系统类型", example = "2")
    private Integer orgType;

    @Schema(description = "租户ID")
    private Long tenantId;



}