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.

304 lines
7.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace djy.Paas.Model
{
/// 报关单一窗口商品数据解析
/// </summary>
public class BaoguanDecListDto
{
/// 报关订单Gid
/// </summary>
public Guid? BaoguanOrderGid { get; set; }
///所在集装箱Gid
/// </summary>
public Guid? ContainerGid { get; set; }
/// 项号
/// </summary>
public string GNo { get; set; }
/// 最终目的国
/// </summary>
public string OriginCountry { get; set; }
/// 商品编号
/// </summary>
public string CodeTS { get; set; }
/// 商品规格
/// </summary>
public string GModel { get; set; }
/// 出
/// </summary>
public string GName { get; set; }
/// 第一计量
/// </summary>
public string FirstQty { get; set; }
/// 第一计量单位
/// </summary>
public string FirstUnit { get; set; }
/// 商品数量
/// </summary>
public string GQty { get; set; }
/// 商品单位
/// </summary>
public string GUnit { get; set; }
/// 征减免税方式
/// </summary>
public string DutyMode { get; set; }
/// 原产国 原产地
/// </summary>
public string DestinationCountry { get; set; }
/// 境内货源地
/// </summary>
public string DistrictCode { get; set; }
///货币类型
/// </summary>
public string TradeCurr { get; set; }
/// 合金金额
/// </summary>
public string DeclTotal { get; set; }
/// 单价
/// </summary>
public string DeclPrice { get; set; }
}
/// 报关爬取的单一窗口商品数据
public class BaoguanOpenDecListDto
{
/// 转换为报关单一窗口商品数据
public BaoguanDecListDto ToBaoguanDecListDto()
{
var val = new BaoguanDecListDto()
{
GNo=gNo,
OriginCountry= cusOriginCountry,
CodeTS=codeTs,
GModel=gModel,
GName=gName,
FirstQty=qty1,
FirstUnit=unit1,
GQty=gQty,
GUnit=unit2,
DutyMode=dutyMode,
DestinationCountry=destinationCountry,
DistrictCode=districtCode,
TradeCurr=tradeCurr,
DeclTotal=declTotal,
DeclPrice=declPrice,
};
return val;
}
///
/// </summary>
public string gNo { get; set; }
///
/// </summary>
public string codeTs { get; set; }
/// 1|0|床上用品|机织,印花|100%涤纶
/// </summary>
public string gModel { get; set; }
///
/// </summary>
public string ciqCurr { get; set; }
/// 套
/// </summary>
public string gUnitName { get; set; }
/// 美元
/// </summary>
public string tradeCurrName { get; set; }
/// 俄罗斯 联邦
/// </summary>
public string destinationCountryName { get; set; }
///
/// </summary>
public string cusOriginCountry { get; set; }
///
/// </summary>
public string gQty { get; set; }
///
/// </summary>
public string goodsLegalInspectionMark { get; set; }
///
/// </summary>
public string declPrice { get; set; }
/// 床品四件套
/// </summary>
public string gName { get; set; }
///
/// </summary>
public string qty1 { get; set; }
///
/// </summary>
public string cusCiqNo { get; set; }
///
/// </summary>
public string ciqQty { get; set; }
/// 千克
/// </summary>
public string unit2Name { get; set; }
/// 全免
/// </summary>
public string dutyModeName { get; set; }
/// 床品四件套
/// </summary>
public string hsCodeDesc { get; set; }
///
/// </summary>
public string goodsTotalVal { get; set; }
///
/// </summary>
public string qty2 { get; set; }
/// 济南或济南章锦综合保税区
/// </summary>
public string districtCodeName { get; set; }
///
/// </summary>
public string dutyMode { get; set; }
///
/// </summary>
public string updateTime { get; set; }
///
/// </summary>
public string ciqOriginCountry { get; set; }
///
/// </summary>
public string preDecCiqGoodsCont { get; set; }
///
/// </summary>
public string stdWeightUnitCode { get; set; }
///
/// </summary>
public string unit1 { get; set; }
///
/// </summary>
public string preDecCiqGoodsLimit { get; set; }
/// 美元
/// </summary>
public string ciqCurrName { get; set; }
///
/// </summary>
public string unit2 { get; set; }
/// 条
/// </summary>
public string unit1Name { get; set; }
///
/// </summary>
public string gUnit { get; set; }
///
/// </summary>
public List<string> supList { get; set; }
/// 中国
/// </summary>
public string cusOriginCountryName { get; set; }
///
/// </summary>
public string createUser { get; set; }
///
/// </summary>
public string districtCode { get; set; }
///
/// </summary>
public string tradeCurr { get; set; }
/// 条
/// </summary>
public string ciqQtyMeasUnitName { get; set; }
///
/// </summary>
public string destinationCountry { get; set; }
///
/// </summary>
public string declTotal { get; set; }
///
/// </summary>
public string ciqQtyMeasUnit { get; set; }
///
/// </summary>
public string preDecCiqXiangHui { get; set; }
/// 化纤制其他印花床用织物制品
/// </summary>
public string codeTsName { get; set; }
///
/// </summary>
public string indbTime { get; set; }
///
/// </summary>
public string updateUser { get; set; }
}
}