日照智慧社区接口服务
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.

151 lines
3.4 KiB

3 years ago
package com.epmet.dto;
3 years ago
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup;
3 years ago
import lombok.Data;
3 years ago
import org.hibernate.validator.constraints.Length;
3 years ago
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
3 years ago
import java.io.Serializable;
import java.util.Date;
import java.util.List;
3 years ago
/**
* 疫情特别关注
*
* @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;
3 years ago
public interface IcEpidemicSpecialAttentionUpdate extends CustomerClientShowGroup {}
public interface IcEpidemicSpecialAttentionAdd extends CustomerClientShowGroup {}
3 years ago
/**
* ID
*/
3 years ago
@NotBlank(message = "id不能为空",groups = {IcEpidemicSpecialAttentionUpdate.class})
private String id;
3 years ago
/**
* 客户ID
*/
private String customerId;
/**
* 当前工作人员所属组织ID
*/
private String orgId;
/**
* 组织ID上级
*/
private String pid;
/**
* 组织ID所有上级
*/
private String pids;
/**
* 是否关注 1关注0取消关注
*/
private Integer isAttention;
3 years ago
3 years ago
/**
* 是否历史关注1是0否
*/
private String isHistory;
/**
* 隔离类型,来自字典表;集中隔离0;居家隔离1;居家健康监测2;已出隔离期3
3 years ago
*/
// @NotBlank(message = "isolatedState不能为空",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
3 years ago
private String isolatedState;
3 years ago
/**
* 关注类型
* 核酸检测2
* 疫苗接种1
* 行程上报0
3 years ago
*/
3 years ago
@NotNull(message = "attentionType不能为空",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
private Integer attentionType;
3 years ago
/**
* 姓名
*/
3 years ago
@NotBlank(message = "name不能为空",groups = IcEpidemicSpecialAttentionAdd.class)
private String name;
3 years ago
/**
* 手机号
*/
// @NotBlank(message = "mobile不能为空",groups = IcEpidemicSpecialAttentionAdd.class)
private String mobile;
3 years ago
/**
* 身份证号
*/
3 years ago
@NotBlank(message = "idCard不能为空",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
private String idCard;
3 years ago
/**
* 原因
*/
3 years ago
@Length(max = 500,message = "原因限制500字以内",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
3 years ago
private String reason;
3 years ago
/**
* 备注
*/
3 years ago
@Length(max = 500,message = "备注限制500字以内",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
3 years ago
private String remark;
3 years ago
/**
3 years ago
*
3 years ago
*/
private Integer delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
3 years ago
/**
* 通知渠道 0小程序通知1短信通知
*/
private List<String> channel;
/**
* 通知内容
*/
3 years ago
@Length(max = 500,message = "通知内容限制500字以内",groups = {IcEpidemicSpecialAttentionAdd.class,IcEpidemicSpecialAttentionUpdate.class})
3 years ago
private String content;
3 years ago
}