You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.0 KiB
C#
93 lines
2.0 KiB
C#
using Myshipping.Core.Entity;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Threading.Tasks;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Myshipping.Core.Service;
|
|
|
|
public interface ICommonDBService
|
|
{
|
|
/// <summary>
|
|
/// 获取船公司
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeCarrier>> GetAllCarrier();
|
|
|
|
/// <summary>
|
|
/// 获取船公司映射
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<MappingCarrier>> GetAllMappingCarrier();
|
|
/// <summary>
|
|
/// 获取船名
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeVessel>> GetAllVessel();
|
|
|
|
|
|
/// <summary>
|
|
/// 获取船名映射
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<MappingVessel>> GetAllMappingVessel();
|
|
/// <summary>
|
|
/// 获取船代
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeForwarder>> GetAllForwarder();
|
|
|
|
/// <summary>
|
|
/// 获取场站
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeYard>> GetAllYard();
|
|
|
|
/// <summary>
|
|
/// 获取起始港
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodePortLoad>> GetAllPortload();
|
|
|
|
/// <summary>
|
|
/// 获取目的港
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodePort>> GetAllPort();
|
|
|
|
/// <summary>
|
|
/// 获取包装
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodePackage>> GetAllPackage();
|
|
|
|
/// <summary>
|
|
/// 获取运输方式
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeService>> GetAllService();
|
|
|
|
/// <summary>
|
|
/// 获取箱型
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeCtn>> GetAllCtn();
|
|
|
|
/// <summary>
|
|
/// 获取箱型映射
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<MappingCtn>> GetAllMappingCtn();
|
|
|
|
|
|
/// <summary>
|
|
/// 付费方式
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<CodeFrt>> GetAllFrt();
|
|
|
|
/// <summary>
|
|
/// 付费方式映射
|
|
/// </summary>
|
|
Task<List<MappingFrt>> GetAllMappingFrt();
|
|
}
|