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.

149 lines
3.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ys.Core.Common;
namespace djy.Paas.Model
{
/// <summary>
/// 报关单货主端Dto
/// </summary>
public class BaoguanOrderClientDto:BaseDto
{
/// <summary>
/// 报关关联Gid
/// </summary>
/// <value></value>
public Guid? BaoguanOrderGid { get; set; }
/// <summary>
/// 提单号
/// </summary>
public string ShipOrderNo { get; set; }
/// <summary>
/// 票数
/// </summary>
/// <value></value>
public int PollCount { get; set; }
/// <summary>
/// 报关行
/// </summary>
public string BaoguanAgent { get; set; }
/// <summary>
/// 进出口类型 I进口 E出口
/// </summary>
public string IEFlag { get; set; }
/// <summary>
/// 进出口名称
/// </summary>
public string IEFlanName
{
get
{
return IEFlag.IsNull() ? "" : IEFlag == "I" ? "进口" : "出口";
}
}
/// <summary>
/// 备注
/// </summary>
/// <value></value>
public string Memo { get; set; }
/// <summary>
/// 附件文件地址
/// </summary>
/// <value></value>
public string FileUrl { get; set; }
/// <summary>
///
/// </summary>
public List<FileListDto> FileList
{
get
{
if (FileUrl.IsNotNull())
{
return YsJson.JsonToObject<List<FileListDto>>(FileUrl);
}
else
{
return new List<FileListDto>();
}
}
set
{
if (value != null)
{
FileUrl = YsJson.ToJson(value);
}
}
}
/// <summary>
/// 企业ID
/// </summary>
public Guid? CompGId { get; set; }
/// <summary>
/// 企业名称
/// </summary>
public string CompName { get; set; }
/// <summary>
/// 用户Gid
/// </summary>
public Guid? UserGid { get; set; }
public string UniqueNumber { get; set; }
/// <summary>
/// 阿里归属 客户企业报关行ID 从UniqueNumber '-'间隔的第一个数字为报关行ID解出
/// </summary>
public int AliCompanyId { get; set; }
/// <summary>
/// 申报地海关
/// </summary>
public string DeclareCustoms { 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>
public string Topic { get; set; }
/// <summary>
/// 状态编码
/// </summary>
public string stateCode { get; set; }
/// <summary>
/// 报关状态
/// </summary>
public string stateName { get; set; }
}
}