package cn.iocoder.yudao.module.system.controller.admin.reservation.vo.excel;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.module.system.convert.excel.LocalDateTimeConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


import java.time.LocalDateTime;

@Schema(description = "管理后台 - 长者预约床位 excel VO")
@Data
@ExcelIgnoreUnannotated
public class ReservationBedExportExcelVO {


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

//    @Schema(description = "长者性别")
//    @ExcelProperty("长者性别")
//    private Integer elderSex;
//
//    @Schema(description = "出生日期")
//    @ExcelProperty("出生日期")
//    private LocalDate birthday;
//
//    @Schema(description = "年龄")
//    @ExcelProperty("年龄")
//    private Integer age;

    @Schema(description = "证件类型", example = "1")
    @ExcelProperty("证件类型")
    @DictFormat(DictTypeConstants.PAPERS_TYPE)
    private Integer idType;

    @Schema(description = "证件号码")
    @ExcelProperty("证件号码")
    private String idNumber;

//    @Schema(description = "证件地址")
//    @ExcelProperty("证件地址")
//    private String certificateAddress;
//
//    @Schema(description = "居住地址")
//    @ExcelProperty("居住地址")
//    private String address;

    @Schema(description = "托养人姓名", example = "王五")
    @ExcelProperty("托养人姓名")
    private String relativeName;

    @Schema(description = "托养人手机号")
    @ExcelProperty("托养人手机号")
    private String relativePhone;

//    @Schema(description = "关系")
//    @ExcelProperty("关系")
//    private Integer relation;

    @Schema(description = "预约时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "预约时间",converter = LocalDateTimeConvert.class)
    private LocalDateTime createTime;


    @Schema(description = "预约入住时间")
    @ExcelProperty(value = "预约入住时间",converter = LocalDateTimeConvert.class)
    private LocalDateTime reservationCheckInTime;

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

    @Schema(description = "销售人员")
    @ExcelProperty("销售人员")
    private String salesperson;

    @Schema(description = "来源渠道")
    @ExcelProperty("来源渠道")
    private Integer sourceChannel;

//    @Schema(description = "预约说明")
//    @ExcelProperty("预约说明")
//    private String describe;

    @Schema(description = "状态", example = "2")
    @ExcelProperty("状态")
    private Integer status;



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

}