package com.storlead.sales.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.math.BigDecimal;

@Data
@Configuration
@PropertySource(ignoreResourceNotFound = true, value = "classpath:ssd-sku-${spring.profiles.active}.properties")
public class SsdSkuConfigProperties {
    /**
     * 中国含税利率
     */
    @Value("${zhCNTaxPriceRate}")
    private BigDecimal zhCNTaxPriceRate;
    /**
     * 物理销毁需要的天数
     */
    @Value("${physicalDestroyDays}")
    private Integer physicalDestroyDays;
    /**
     * 逻辑销毁需要的天数
     */
    @Value("${logicDestroyDays}")
    private Integer logicDestroyDays;

    /**
     * aes 加密需要天数
     */
    @Value("${aesEncryptDays}")
    private Integer aesEncryptDays;
    /**
     * rapidBackup需要天数
     */
    @Value("${rapidBackupDays}")
    private Integer rapidBackupDays;



}
