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