package cn.nianxx.thhotel.platform.message.common.enums;

/**
 * 来源消息媒体类型。用于区分正文内图片和附件引用，第一阶段不下载、不转存文件。
 */
public enum SourceMessageMediaType {

    INLINE_IMAGE("INLINE_IMAGE"),
    ATTACHMENT("ATTACHMENT"),
    ORIGINAL_EMAIL("ORIGINAL_EMAIL");

    private final String code;

    SourceMessageMediaType(String code) {
        this.code = code;
    }

    public String code() {
        return code;
    }
}
