using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace djy.Model.IsfDto
{
public class Info
{
///
/// 提单类型CODE
///
public string blTypeCode { get; set; }
///
/// 交货地代码
///
public string deliveryHarbourCode { get; set; }
///
/// 卸货港代码
///
public string dischargeHarbourCode { get; set; }
///
/// HSTCode多个用英文逗号隔开
///
public string hstCode { get; set; }
///
/// 类型(1.ISF5 2.ISF10)
///
public string infoType { get; set; }
///
/// 提单号
///
public string masterBillNo { get; set; }
/////
///// 备注
/////
//public string memo { get; set; }
///
/// 业务id
///
public string refId { get; set; }
///
/// 贸易类型代码
///
public string shipmentTypeCode { get; set; }
///
/// bond是否自有,infoType=2时(ISF10),需要提供,如果没提供,默认1;值是:1或者2;1表示“自有BOND”,2表示“使用CargoEDI的BOND”
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string bondOwnCode { get; set; }
///
/// bond类型 infoType=2时(ISF10),需要提供,如果没提供,默认01;值是:01或者02或者03或者04或者16;01=ABI Entry - Importer or Broker;02=Custodian of Bonded Merchandise;03=AMS C-3 Bond / International Carrier;04=Foreign Trade Zone Operator;16=ISF Bond
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string bondTypeCode { get; set; }
///
/// 船东提单号
///
public string shipMasterBillNo { get; set; }
}
public class CompanyList
{
///
/// 地址
///
public string address { get; set; }
///
/// 城市
///
public string city { get; set; }
///
/// 公司ID
///
public string companyId { get; set; }
///
/// 公司名称
///
public string companyName { get; set; }
///
/// 公司类型
///
public string companyType { get; set; }
///
/// 国家代码
///
public string countryCode { get; set; }
///
/// HSTCode多个用英文逗号隔开
///
public string hstCode { get; set; }
///
/// id类型代码
///
public string idTypeCode { get; set; }
/////
///// 进出口类型(1.进口2.出口)
/////
//public string ieType { get; set; }
///
/// 邮编
///
public string postcode { get; set; }
///
/// 省份
///
public string province { get; set; }
///
/// 省份代码
///
public string provinceCode { get; set; }
}
public class IsfInfo
{
public List companyList { get; set; }
public string format { get; set; }
public Info info { get; set; }
///
/// 服务名称,值为:eportyun.manifest.isf.sendBill
///
public string method { get; set; }
///
/// 类型1.原始2.修改3.删除4.重发
///
public int msgType { get; set; }
///
/// 加密
///
public string sign { get; set; }
///
/// 时间戳
///
public string timestamp { get; set; }
///
/// 用户id
///
public string user_id { get; set; }
///
/// 2.0
///
public string version { get; set; }
}
}