using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Core.Standard.Mvc;

namespace XYY.Service.Standard.Finance.Charging.Base
{
    /// <summary>
    /// 基础服务类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IChargesService<T> where T : Finance_ChargesDetail
    {

        /// <summary>
        /// 计算费用
        /// </summary>
        /// <param name="t"></param>
        /// <returns></returns>
        Task<ApiJsonModel> Charges(T t);
    }
}
