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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

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


@Schema(description = "管理后台 - 床位变更记录新增/修改 Request VO")
@Data
public class BedChangeRecordSaveReqVO {

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

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

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

    @Schema(description = "原床位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "原床位名称不能为空")
    private String originalBedName;

    @Schema(description = "变更生效日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "变更生效日期不能为空")
    private LocalDate changeDate;

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

    @Schema(description = "床位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "床位名称不能为空")
    private String bedName;

    @Schema(description = "价格", example = "31331")
    private Double price;

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

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

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

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

}
