forked from rongchao/epmet-cloud-rizhao
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.
150 lines
3.4 KiB
150 lines
3.4 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;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
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;
|
|
|
|
}
|
|
|