package com.hz.phis.dt.returnVisitRecord;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.hx.util.MapUtil;
|
import lombok.Data;
|
|
import java.util.Map;
|
|
|
/**回访列表子项数据
|
*/
|
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
|
@Data
|
public class UserReturnVisitInfoDto {
|
|
|
/*** 超时状态 0未超时 1已超时**/
|
private Integer timeoutStatus;
|
/*** 回访状态 0未回访 1已回访**/
|
private Integer returnVisitStatus;
|
/*** 门店ID */
|
private String shopId;
|
/*** 门店名称 */
|
private String shopName;
|
/*** 回访类型 字典id */
|
private String returnVisitType;
|
/*** 回访类型名称*/
|
private String returnVisitTypeName;
|
/*** 回访结果 0 未知 1回访成功 2回访失败**/
|
private Integer visitResultStatus;
|
/*** 回访是否满意 0 未知 1满意 2不满意**/
|
private Integer satisfiedStatus;
|
/*** 回访人名称**/
|
private String operationName;
|
/*** 回访人id**/
|
private String operationId;
|
/*** 回访详情**/
|
private String content;
|
/*** 回访备注**/
|
private String remark;
|
/***id **/
|
private String id;
|
//创建人
|
private String createPersonName;
|
|
|
|
public UserReturnVisitInfoDto() {
|
}
|
|
public UserReturnVisitInfoDto(Map<String,Object> visitRecord) {
|
this.id = visitRecord.get("id").toString();
|
this.timeoutStatus = MapUtil.getInt(visitRecord,"timeoutStatus");
|
this.returnVisitStatus = MapUtil.getInt(visitRecord,"returnVisitStatus");
|
this.shopId = MapUtil.getString(visitRecord,"shopId");
|
this.shopName = MapUtil.getString(visitRecord,"shopName");
|
this.returnVisitType = MapUtil.getString(visitRecord,"returnVisitType");
|
this.returnVisitTypeName = MapUtil.getString(visitRecord,"returnVisitTypeName");
|
this.visitResultStatus = MapUtil.getInt(visitRecord,"visitResultStatus");
|
this.satisfiedStatus = MapUtil.getInt(visitRecord,"satisfiedStatus");
|
this.operationName = MapUtil.getString(visitRecord,"operationName");
|
this.operationId = MapUtil.getString(visitRecord,"operationId");;
|
this.content = MapUtil.getString(visitRecord,"content");
|
this.remark = MapUtil.getString(visitRecord,"remark");
|
this.createPersonName = MapUtil.getString(visitRecord,"createPersonName");;
|
}
|
}
|