86 lines
2.3 KiB
Java
86 lines
2.3 KiB
Java
package com.example.caseData.request.CaseClinicalVideoRequest;
|
||
|
||
import com.example.caseData.request.clinicalRequest.getClinicalArticleSearchPage;
|
||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||
import com.fasterxml.jackson.annotation.JsonSetter;
|
||
import com.fasterxml.jackson.annotation.Nulls;
|
||
import jakarta.validation.constraints.NotEmpty;
|
||
import lombok.Data;
|
||
import org.springframework.util.StringUtils;
|
||
|
||
import java.time.LocalDateTime;
|
||
import java.util.HashMap;
|
||
import java.util.List;
|
||
import java.util.Map;
|
||
|
||
@Data
|
||
public class addClinicalVideoApp {
|
||
// 动作(add:新增 update:修改 delete:删除)
|
||
@JsonProperty("action")
|
||
private String action;
|
||
|
||
// 视频编号(保利)
|
||
@JsonProperty("videoNo")
|
||
private String videoNo;
|
||
|
||
// 是否外部链接(0:否 1:是)
|
||
@JsonProperty("isLink")
|
||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
private Integer isLink = 0;
|
||
|
||
// 外部链接地址
|
||
@JsonProperty("isLinkUrl")
|
||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
private String isLinkUrl;
|
||
|
||
// 标题
|
||
@JsonProperty("videoTitle")
|
||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
private String videoTitle;
|
||
|
||
// 发布时间
|
||
@JsonProperty("pushDate")
|
||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
private String pushDate;
|
||
|
||
// 作者
|
||
@JsonProperty("author")
|
||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
@JsonSetter(nulls = Nulls.SKIP)
|
||
private List<Author> author;
|
||
|
||
// 标签
|
||
@JsonProperty("label")
|
||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
@JsonSetter(nulls = Nulls.SKIP)
|
||
private List<Label> label;
|
||
|
||
/**
|
||
* 作者
|
||
*/
|
||
@Data
|
||
public static class Author {
|
||
@JsonProperty("doctorIden")
|
||
private String doctorIden; // 医生app唯一标识
|
||
|
||
@JsonProperty("doctorName")
|
||
private String doctorName; // 医生app名称
|
||
|
||
@JsonProperty("hospitalIden")
|
||
private String hospitalIden; // 医院app唯一标识
|
||
}
|
||
|
||
/**
|
||
* 标签
|
||
*/
|
||
@Data
|
||
public static class Label {
|
||
@JsonProperty("appIden")
|
||
private String appIden; // app唯一标识
|
||
|
||
@JsonProperty("labelName")
|
||
private String labelName; // 标签名称
|
||
}
|
||
}
|