package cn.axzo.msg.center.inside.notices.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @description
 *   消息的系统配置
 * @author cold_blade
 * @date 2023/8/31
 * @version 1.0
 */
@Getter
@Setter
@RefreshScope
@Configuration
public class MessageSystemConfig {

    /**
     * 消息记录的冷热隔离线，-1表示不进行冷热隔离
     */
    @Value("${message.common.record.divide-days:-1}")
    private Integer dataDivideDays;
    @Value("${message.common.icon.orgIcon:https://axzo-public.oss-cn-chengdu.aliyuncs.com/6253b72fdd8afe30b9f765494ce6a756.png}")
    private String orgIcon;
}
