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.
214 lines
5.5 KiB
C#
214 lines
5.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Ys.Core.Common;
|
|
using FreeSql.DataAnnotations;
|
|
namespace djy.Paas.Model
|
|
{
|
|
/// <summary>
|
|
/// 报关订单
|
|
/// </summary>
|
|
public class tb_BaoGuanOrderList : DataBase
|
|
{
|
|
/// <summary>
|
|
/// 阿里推送消息的Gid
|
|
/// </summary>
|
|
/// <value></value>
|
|
public Guid? AlSActionGid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
///报关阿里唯一单号ID 报关单号
|
|
/// </summary>
|
|
public string UniqueNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报关单号 统一编码
|
|
/// </summary>
|
|
public string CustomsNo { get; set; }
|
|
/// <summary>
|
|
/// 阿里归属 客户企业报关行ID 从UniqueNumber '-'间隔的第一个数字为报关行ID解出
|
|
/// </summary>
|
|
public int AliCompanyId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 大简云企业ID
|
|
/// </summary>
|
|
public Guid? CompId { get; set; }
|
|
/// <summary>
|
|
/// 大简云企业名称
|
|
/// </summary>
|
|
public string CompName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 客户名称
|
|
/// </summary>
|
|
public string ClientName { get; set; }
|
|
/// <summary>
|
|
/// 客户联系人
|
|
/// </summary>
|
|
public string ClientMain { get; set; }
|
|
/// <summary>
|
|
/// 客户Email
|
|
/// </summary>
|
|
public string ClientEmail { get; set; }
|
|
|
|
/// <summary>
|
|
/// 境内收货人
|
|
/// </summary>
|
|
public string TradeName { get; set; }
|
|
/// <summary>
|
|
/// 委托人
|
|
/// </summary>
|
|
public string DelegateMain { get; set; }
|
|
/// <summary>
|
|
/// 报关单类型
|
|
/// </summary>
|
|
public string BillType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 进出口类型 I进口 E出口
|
|
/// </summary>
|
|
public string IEFlag { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Column(IsIgnore = true)]
|
|
public string IEFlanName {
|
|
|
|
get {
|
|
return IEFlag.IsNull() ? "" : IEFlag == "I" ? "进口" : "出口";
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 申报地海关
|
|
/// </summary>
|
|
public string DeclareCustoms { get; set; }
|
|
/// <summary>
|
|
/// 提单号
|
|
/// </summary>
|
|
public string ShipOrderNo { get; set; }
|
|
/// <summary>
|
|
/// 主实际提单号
|
|
/// </summary>
|
|
public string ShipOrderNoMain { get; set; }
|
|
/// <summary>
|
|
/// 运抵预配状态
|
|
/// </summary>
|
|
public string DockStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预计到港时间
|
|
/// </summary>
|
|
public long ETATime { get; set; }
|
|
/// <summary>
|
|
/// 预计离岗时间
|
|
/// </summary>
|
|
public long ETDTime { get; set; }
|
|
/// <summary>
|
|
/// 查验时间
|
|
/// </summary>
|
|
public long CheckTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 原始海关报文
|
|
/// </summary>
|
|
[Column(StringLength = -1)]
|
|
public string CustomsMessage { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 海关报文校验
|
|
/// </summary>
|
|
[Column(StringLength =-1)]
|
|
public string CustomersCheck { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[Column(StringLength = -1)]
|
|
public string Memo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接收数据类型
|
|
/// </summary>
|
|
[Column(IsIgnore = true)]
|
|
public string Topic { get; set; }
|
|
/// <summary>
|
|
/// 状态编码
|
|
/// </summary>
|
|
public string stateCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态名称
|
|
/// </summary>
|
|
public string stateName { get; set; }
|
|
/// <summary>
|
|
/// 运输工具名称
|
|
/// </summary>
|
|
public string TrafName { get; set; }
|
|
|
|
/// <summary>
|
|
///文件信息
|
|
/// </summary>
|
|
[Column(StringLength =-1)]
|
|
public string FileInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 文件列表信息
|
|
/// </summary>
|
|
[Column(IsIgnore = true)]
|
|
public List<FileListDto> FileList
|
|
{
|
|
|
|
get
|
|
{
|
|
if (FileInfo.IsNotNull())
|
|
{
|
|
return YsJson.JsonToObject<List<FileListDto>>(FileInfo);
|
|
}
|
|
else
|
|
{
|
|
return new List<FileListDto>();
|
|
}
|
|
}
|
|
|
|
|
|
set
|
|
{
|
|
if (value != null && value.Count > 0)
|
|
{
|
|
FileInfo = YsJson.ToJson(value);
|
|
}
|
|
else
|
|
{
|
|
FileInfo = null;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 数据解析状态 1 未解析 100已解析。
|
|
/// </summary>
|
|
public int ParseStatus { get; set; } = 1;
|
|
/// <summary>
|
|
/// 报关单类型 ali 阿里推送的 open 爬虫爬取推送的
|
|
/// </summary>
|
|
public string OrderType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 扣费状态
|
|
/// </summary>
|
|
public string StaCustFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扣费时间
|
|
/// </summary>
|
|
public DateTime? TimeCustFee { get; set; }
|
|
}
|
|
}
|