package cn.lihu.jh.module.ecg.controller.admin.jobrecord.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.*;
|
|
import javax.validation.constraints.NotNull;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 工作记录新增/修改 Request VO")
|
@Data
|
public class JobRecordSaveReqVO {
|
|
@Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2037")
|
private Long id;
|
|
@Schema(description = "作业类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@NotNull(message = "作业类型不能为空")
|
private Integer jobType;
|
|
@Schema(description = "医生编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24197")
|
@NotNull(message = "医生编号不能为空")
|
private Long docId;
|
|
@Schema(description = "医生名称", example = "赵六")
|
private String docName;
|
|
@Schema(description = "设备编号", example = "9159")
|
private String devId;
|
|
@Schema(description = "患者编号", example = "19193")
|
private String patId;
|
|
@Schema(description = "患者名称", example = "芋艿")
|
private String patName;
|
|
@Schema(description = "作业时间")
|
private LocalDateTime jobTime;
|
|
@Schema(description = "作业概要")
|
private String summary;
|
|
@Schema(description = "备注", example = "你猜")
|
private String remark;
|
|
@Schema(description = "对应租赁编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "19472")
|
@NotNull(message = "对应租赁编号不能为空")
|
private Long rentId;
|
|
@Schema(description = "取消安装")
|
private Integer cancelled;
|
}
|