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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

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

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/19  11:47
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 床位变更记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BedChangeRecordPageReqVO  extends PageParam {

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

    @Schema(description = "原床位id", example = "20769")
    private Long originalBedId;

    @Schema(description = "原床位名称", example = "李四")
    private String originalBedName;

    @Schema(description = "变更生效日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] changeDate;

    @Schema(description = "床位id", example = "16757")
    private Long bedId;

    @Schema(description = "床位名称", example = "赵六")
    private String bedName;

    @Schema(description = "价格", example = "31331")
    private BigDecimal amount;

    @Schema(description = "是否折扣", example = "7779")
    private Integer isDiscount;

    @Schema(description = "是否包房")
    private Integer isPrivateRoom;

    @Schema(description = "床位变更文件")
    private String bedFiles;

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
