package cn.iocoder.yudao.module.bpm.controller.admin.business.vo;

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;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/6  11:21
 * @Description: 管理后台 - 老人申请入院 Response VO
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 老人申请入院 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BpmApplyAccommodationRespVO {

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

    @Schema(description = "老人ID", example = "6489")
    @ExcelProperty("老人ID")
    private Long elderId;

    @Schema(description = "长者姓名", example = "赵六")
    @ExcelProperty("长者姓名")
    private String elderName;

    @Schema(description = "申请人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "499")
    @ExcelProperty("申请人的用户编号")
    private Long userId;

    @Schema(description = "审批结果", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("审批结果")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "11303")
    @ExcelProperty("流程实例的编号")
    private String processInstanceId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}