/*
 *
 *      Copyright (c) 2018-2025, breeze All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the breecloud.com developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: breeze (breeze@gmail.com)
 *
 */

package com.tax.file.constants;

/**
 * @author breeze
 * @date 2017/10/29
 */
public interface CommonConstants {

	/**
	 * 默认存储bucket
	 */
	String BUCKET_NAME = "invoice";
	/**
	 * 文件下载默认每页记录数
	 */
	int PAGE_SIZE = 200;
	/**
	 * 发票文件下载扩展名
	 */
	String EXT_NAME = "zip";
	
	/**
	 * 发票文件下载扩展名
	 */
	int EXPIRES = 7 * 24 * 3600;
	
	/**
	 *  读取文件URL的超时时间
	 */
	int timeout = 10*1000;

	/**
	 * 需要处理异常关键字
	 */
	String THIRTY_DAYS_MSG = "30天内不能重复申请";
	String OVER_APPLY_MSG = "已经达到2条";
	String OVER_APPLY_24_MSG = "24小时内不能重复申请";
	String OVER_APPLY_48_MSG = "48小时内不能重复申请";
	String OVER_APPLY_CURRENT_MONTH_MSG = "达到允许上限";
}
