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.
193 lines
5.7 KiB
C#
193 lines
5.7 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>
|
|
///vgmorder数据
|
|
/// </summary>
|
|
public class tb_vgm_vgmOrderList : DataBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 提单号ID
|
|
/// </summary>
|
|
public string BillOrderId { get; set; }
|
|
/// <summary>
|
|
/// 提单编号
|
|
/// </summary>
|
|
public string SendOrderCode { get; set; }
|
|
/// <summary>
|
|
/// 客户名称
|
|
/// </summary>
|
|
public string CustomerName { get; set; }
|
|
/// <summary>
|
|
/// 客户ID
|
|
/// </summary>
|
|
public string CustomerId { get; set; }
|
|
/// <summary>
|
|
/// 客户密码
|
|
/// </summary>
|
|
public string CustomerPassword { get; set; }
|
|
/// <summary>
|
|
/// 订舱代理名称
|
|
/// </summary>
|
|
public string AgentName { get; set; }
|
|
/// <summary>
|
|
/// 船务公司代码
|
|
/// </summary>
|
|
public string CarrierCode { get; set; }
|
|
/// <summary>
|
|
/// 船务公司名称
|
|
/// </summary>
|
|
public string CarrierName { get; set; }
|
|
/// <summary>
|
|
/// UserId
|
|
/// </summary>
|
|
public string UserId { get; set; }
|
|
/// <summary>
|
|
/// UserName
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
/// <summary>
|
|
/// 客户密码
|
|
/// </summary>
|
|
public string UserPassword { get; set; }
|
|
/// <summary>
|
|
/// 场站编码
|
|
/// </summary>
|
|
public string DepotCode { get; set; }
|
|
/// <summary>
|
|
/// 场站名称
|
|
/// </summary>
|
|
public string DepotName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 船名
|
|
/// </summary>
|
|
public string ShipName { get; set; }
|
|
/// <summary>
|
|
/// 航次
|
|
/// </summary>
|
|
public string VoyNo { get; set; }
|
|
/// <summary>
|
|
/// ETD
|
|
/// </summary>
|
|
[Column(IsIgnore = true)]
|
|
public string ETDStr { get { return ETDTime.ToDataTime().ToString(); } set {
|
|
if (value.IsDateTime()) {
|
|
ETDTime =DateTime.Parse(value).ToTimeStamp();
|
|
}
|
|
} }
|
|
/// <summary>
|
|
/// 预计离岗时间
|
|
/// </summary>
|
|
public long ETDTime { get; set; }
|
|
/// <summary>
|
|
/// 启运港
|
|
/// </summary>
|
|
public string PotrSend { get; set; }
|
|
/// <summary>
|
|
/// 目的港
|
|
/// </summary>
|
|
public string PotrGoal { get; set; }
|
|
/// <summary>
|
|
/// vgm截至时间
|
|
/// </summary>
|
|
[Column(IsIgnore =true)]
|
|
public string VgmEndTimeStr { get { return VgmEndTime.ToDataTime().ToString(); } set { if (value.IsDateTime()) {
|
|
VgmEndTime = DateTime.Parse(value).ToTimeStamp();
|
|
} } }
|
|
/// <summary>
|
|
///vgm截至时间 时间戳
|
|
/// </summary>
|
|
public long VgmEndTime { get; set; }
|
|
/// <summary>
|
|
/// 联系人
|
|
/// </summary>
|
|
public string LinkName { get; set; }
|
|
/// <summary>
|
|
/// 联系人信息
|
|
/// </summary>
|
|
public string LinkMobile { get; set; }
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Memo { get; set; }
|
|
/// <summary>
|
|
/// 箱型箱量数据
|
|
/// </summary>
|
|
[Column(StringLength =500)]
|
|
public string BoxinfoStr { get; set; }
|
|
/// <summary>
|
|
/// 箱型 boxtype 和 箱量 boxcount
|
|
/// </summary>
|
|
[Column(IsIgnore =true)]
|
|
public List<tb_vgm_SendBoxInfo> BoxInfo {get;set;}
|
|
/// <summary>
|
|
/// vgm提交的数量用于统计
|
|
/// </summary>
|
|
// [Column(IsIgnore =true)]
|
|
// public int BoxInfoCount { get; set; }
|
|
/// <summary>
|
|
/// 平台用户名
|
|
/// </summary>
|
|
public string SysLoginName { get; set; }
|
|
/// <summary>
|
|
/// 平台密码
|
|
/// </summary>
|
|
public string SysPsssword { get; set; }
|
|
/// <summary>
|
|
/// 来源系统
|
|
/// </summary>
|
|
public string SystemCode { get; set; }
|
|
/// <summary>
|
|
/// 回写回调的url地址
|
|
/// </summary>
|
|
[Column(StringLength =2000)]
|
|
public string ReturnUrl { get; set; }
|
|
/// <summary>
|
|
/// VGM提交后确认成功的回调通知url
|
|
/// </summary>
|
|
[Column(StringLength =2000)]
|
|
public string ReturnOkUrl { get; set; }
|
|
/// <summary>
|
|
/// VGM提交后通过爬虫获取的反馈状态 0 1 等待请求提交反馈 2 已经提交请求等待反馈 3反馈失败 反馈100成功
|
|
/// </summary>
|
|
public int RetrunStatus { get; set; }
|
|
/// <summary>
|
|
/// si提交成功之后的回调地址
|
|
/// </summary>
|
|
[Column(StringLength =2000)]
|
|
public string SiReturnUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接收的其它的数据
|
|
/// </summary>
|
|
[Column(StringLength =2000)]
|
|
public string DataJson { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接收的数据 对应到 DataJson
|
|
/// </summary>
|
|
[Column(IsIgnore =true)]
|
|
public object DataInfoJson {
|
|
get { if (DataJson.IsNull())
|
|
{
|
|
return null;
|
|
}
|
|
else {
|
|
return YsJson.JsonToObject<System.Text.Json.JsonElement>(DataJson);
|
|
} }
|
|
set { if (value != null) {
|
|
DataJson = System.Text.Json.JsonSerializer.Serialize(value);
|
|
} }
|
|
}
|
|
|
|
}
|
|
}
|