You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
210 lines
4.7 KiB
210 lines
4.7 KiB
package com.epmet.dto;
|
|
|
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup;
|
|
import lombok.Data;
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
import javax.validation.constraints.NotNull;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
* 疫情特别关注
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2022-03-28
|
|
*/
|
|
@Data
|
|
public class IcEpidemicSpecialAttentionDTO implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public interface IcEpidemicSpecialAttentionUpdate extends CustomerClientShowGroup {}
|
|
public interface IcEpidemicSpecialAttentionAdd extends CustomerClientShowGroup {}
|
|
|
|
/**
|
|
* ID
|
|
*/
|
|
@NotBlank(message = "id不能为空",groups = {IcEpidemicSpecialAttentionUpdate.class})
|
|
private String id;
|
|
|
|
/**
|
|
* 客户ID
|
|
*/
|
|
private String customerId;
|
|
|
|
/**
|
|
* 当前工作人员所属组织ID
|
|
*/
|
|
private String orgId;
|
|
|
|
/**
|
|
* 组织ID上级
|
|
*/
|
|
private String pid;
|
|
|
|
/**
|
|
* 组织ID所有上级
|
|
*/
|
|
private String pids;
|
|
|
|
/**
|
|
* 是否关注 1:关注,0:取消关注
|
|
*/
|
|
private Integer isAttention;
|
|
|
|
/**
|
|
* 是否历史关注,1是0否
|
|
*/
|
|
private String isHistory;
|
|
|
|
/**
|
|
* 隔离类型,来自字典表;集中隔离:0;居家隔离1;居家健康监测2;已出隔离期3
|
|
*/
|
|
// @NotBlank(message = "isolatedState不能为空",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
|
|
private String isolatedState;
|
|
|
|
/**
|
|
* 关注类型,
|
|
* 核酸检测:2,
|
|
* 疫苗接种:1,
|
|
* 行程上报:0
|
|
*/
|
|
@NotNull(message = "attentionType不能为空",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
|
|
private Integer attentionType;
|
|
|
|
/**
|
|
* 姓名
|
|
*/
|
|
@NotBlank(message = "name不能为空",groups = IcEpidemicSpecialAttentionAdd.class)
|
|
private String name;
|
|
|
|
/**
|
|
* 手机号
|
|
*/
|
|
// @NotBlank(message = "mobile不能为空",groups = IcEpidemicSpecialAttentionAdd.class)
|
|
private String mobile;
|
|
|
|
/**
|
|
* 身份证号
|
|
*/
|
|
@NotBlank(message = "idCard不能为空",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
|
|
private String idCard;
|
|
|
|
/**
|
|
* 关注原因;后磐石改名为隔离原因
|
|
*/
|
|
@Length(max = 500,message = "原因限制500字以内",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
|
|
private String reason;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
@Length(max = 500,message = "备注限制500字以内",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
|
|
private String remark;
|
|
|
|
/**
|
|
* 管控开始时间yyyy-MM-dd,需求来源于磐石
|
|
*/
|
|
private String gkStartTime;
|
|
|
|
/**
|
|
* 管控结束时间yyyy-MM-dd,需求来源于磐石
|
|
*/
|
|
private String gkEndTime;
|
|
|
|
/**
|
|
* 镇(街)干部名称,需求来源于磐石
|
|
*/
|
|
private String gbName;
|
|
|
|
/**
|
|
* 镇(街)干部联系方式,需求来源于磐石
|
|
*/
|
|
private String gbMobile;
|
|
|
|
/**
|
|
* 村(社区)网格管理员,需求来源于磐石
|
|
*/
|
|
private String gridManager;
|
|
|
|
/**
|
|
* 村(社区)网格管理员联系方式,需求来源于磐石
|
|
*/
|
|
private String gridManagerMobile;
|
|
|
|
/**
|
|
* 基层医务工作者,需求来源于磐石
|
|
*/
|
|
private String healthWorker;
|
|
|
|
/**
|
|
* 基层医务工作者联系方式,需求来源于磐石
|
|
*/
|
|
private String healthWorkerMobile;
|
|
|
|
/**
|
|
* 民警,需求来源于磐石
|
|
*/
|
|
private String policeName;
|
|
|
|
/**
|
|
* 民警联系方式,需求来源于磐石
|
|
*/
|
|
private String policeMobile;
|
|
|
|
/**
|
|
* 志愿者,需求来源于磐石
|
|
*/
|
|
private String volunteerName;
|
|
|
|
/**
|
|
* 志愿者联系方式,需求来源于磐石
|
|
*/
|
|
private String volunteerMobile;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private Integer delFlag;
|
|
|
|
/**
|
|
* 乐观锁
|
|
*/
|
|
private Integer revision;
|
|
|
|
/**
|
|
* 创建人
|
|
*/
|
|
private String createdBy;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createdTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
private String updatedBy;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private Date updatedTime;
|
|
|
|
/**
|
|
* 通知渠道 0小程序通知,1短信通知
|
|
*/
|
|
private List<String> channel;
|
|
|
|
/**
|
|
* 通知内容
|
|
*/
|
|
@Length(max = 500,message = "通知内容限制500字以内",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
|
|
private String content;
|
|
|
|
}
|
|
|