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

import cn.iocoder.yudao.module.system.api.bpm.vo.PriceChangeRecordReqVO;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.PriceChangeRecordDO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/29  9:39
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 价格变更详情 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PriceChangeDetailRespVO {

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

    @Schema(description = "长者id", example = "23841")
    private Long elderlyId;

    @Schema(description = "床位号")
    private String bedName;

    @Schema(description = "长者姓名")
    private String elderName;

    @Schema(description = "身份证")
    private String idCard;

    @Schema(description = "变更生效日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate changeDate;

    @Schema(description = "变更文件")
    private String changeFiles;

    @Schema(description = "变更原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不好")
    private String reason;

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

    @Schema(description = "变更项目", requiredMode = Schema.RequiredMode.REQUIRED)
    List<PriceChangeRecordReqVO> priceChangeList;

}
