package cn.axzo.msg.center.domain.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author yanglin
 */
@Data
public class PendingRecordExt {

    private MigrateOu migrateOu = new MigrateOu();

    /**
     * 是否是从pending_message_record表迁移的数据
     */
    private Boolean isMigratedFromPendingMessage;

    /**
     * 交接信息
     */
    private List<TodoHandoverMapping> handoverMappings;

    @Data
    public static class MigrateOu {
        // 最原始的ouId
        private Long originalOuId;
        // ouId迁移时间
        private Date ouIdMigrateTime;
        // ouId迁移描述
        private String ouIdMigrateDesc;
        // ouId = 0清洗失败
        private Boolean ouIdZeroFail;
    }
}