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.
BookingHeChuan/Myshipping.Application/Enum/BookingErrorCode.cs

156 lines
3.9 KiB
C#

using Furion.FriendlyException;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Enum
{
2 years ago
[ErrorCodeType]
public enum BookingErrorCode
2 years ago
{
#region 订舱
/// <summary>
/// 订舱数据不存在
/// </summary>
[ErrorCodeItemMetadata("订舱数据不存在")]
BOOK001,
/// <summary>
/// 已存在同类型且名称相同的收发通模板
/// </summary>
[ErrorCodeItemMetadata("已存在同类型且名称相同的收发通模板")]
BOOK101,
/// <summary>
/// 收发通模板不存在
/// </summary>
[ErrorCodeItemMetadata("收发通模板不存在")]
BOOK111,
/// <summary>
/// 打印模板不存在
/// </summary>
[ErrorCodeItemMetadata("打印模板不存在")]
BOOK112,
/// <summary>
/// 未上传模板文件
/// </summary>
[ErrorCodeItemMetadata("未上传模板文件")]
BOOK113,
/// <summary>
/// 不允许的文件类型
/// </summary>
[ErrorCodeItemMetadata("不允许的文件类型")]
BOOK114,
/// <summary>
/// 模板文件不存在
/// </summary>
[ErrorCodeItemMetadata("模板文件不存在")]
BOOK115,
/// <summary>
/// 放舱信息不存在
/// </summary>
[ErrorCodeItemMetadata("放舱信息不存在")]
BOOK116,
/// <summary>
/// 不支持的船公司
/// </summary>
[ErrorCodeItemMetadata("不支持的船公司")]
BOOK117,
/// <summary>
/// 船公司未正确填写
/// </summary>
[ErrorCodeItemMetadata("船公司未正确填写")]
BOOK118,
/// <summary>
/// 亿通账号未正确配置
/// </summary>
[ErrorCodeItemMetadata("亿通账号未正确配置")]
BOOK119,
2 years ago
/// <summary>
/// 场站EDI配置未找到
/// </summary>
[ErrorCodeItemMetadata("场站EDI配置未找到{0}")]
BOOK120,
/// <summary>
/// 所有箱型箱量必须录入完整
/// </summary>
[ErrorCodeItemMetadata("所有箱型箱量必须录入完整")]
BOOK121,
/// <summary>
/// 箱型EDI配置未找到
/// </summary>
[ErrorCodeItemMetadata("箱型EDI配置未找到")]
BOOK122,
/// <summary>
/// 箱型EDI配置未找到
/// </summary>
[ErrorCodeItemMetadata("箱型EDI配置未找到{0}")]
BOOK123,
/// <summary>
/// 提箱小票链接生成失败
/// </summary>
[ErrorCodeItemMetadata("提箱小票链接生成失败:{0}")]
BOOK124,
/// <summary>
/// 船公司网站账号未配置
/// </summary>
[ErrorCodeItemMetadata("船公司网站账号未配置")]
BOOK125,
/// <summary>
/// vgm链接生成失败
/// </summary>
[ErrorCodeItemMetadata("vgm链接生成失败{0}")]
BOOK126,
2 years ago
/// <summary>
/// 主提单号不能为空
/// </summary>
[ErrorCodeItemMetadata("主提单号不能为空")]
BOOK127,
/// <summary>
/// vgm发送失败
/// </summary>
[ErrorCodeItemMetadata("vgm发送失败{0}")]
BOOK128,
2 years ago
/// <summary>
/// 舱单发送失败
/// </summary>
[ErrorCodeItemMetadata("舱单发送失败:{0}")]
BOOK129,
2 years ago
2 years ago
/// <summary>
/// 附件不存在
/// </summary>
[ErrorCodeItemMetadata("附件不存在")]
BOOK200,
1 year ago
/// <summary>
/// 请上传正确数据
/// </summary>
[ErrorCodeItemMetadata("请上传正确数据")]
BOOK201,
2 years ago
#endregion
}
}