using System;
using System.Collections.Generic;
using AutoMapper;
using DSWeb.Areas.Account.Models.BSNOLB;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsChFee
{
[JsonObject]
public class Ch_feeInvLink : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _INVLINKGID;//
private string _CUSTOMERNAME;//
private string _CURRENCY;//
private string _INVURL;//料号
private string _CREATEUSER;
private string _CREATEUSERREF;
private DateTime _CREATETIME = DateTime.Now;//录入日期
#endregion
public Ch_feeInvLink()
{
TableName = "ch_fee_invlink";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string INVLINKGID
{
get { return _INVLINKGID; }
set { _INVLINKGID = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string INVURL
{
get { return _INVURL; }
set { _INVURL = value; }
}
[ModelDB]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
[ModelDB]
public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }
public List BSNOLIST { get; set; }
#endregion
}
[JsonObject]
public class MsDjyInvLjFee
{
public string LinkId { get; set; }
public string CompanyId { get; set; }
public string Email { get; set; }
public string BuyerName { get; set; }
public string BuyerTaxNum { get; set; }
public string BuyerTel { get; set; }
public string BuyerAddress { get; set; }
public string BuyerAccount { get; set; }
public string SalerName { get; set; }
public string SalerTaxNum { get; set; }
public string SalerTel { get; set; }
public string SalerAddress { get; set; }
public string SalerAccount { get; set; }
public string Payee { get; set; }
public string Checker { get; set; }
public string Clerk { get; set; }
public string RemarkTemplate { get; set; }
public List BillList { get; set; }
}
public class MsDjyInvLjBill
{
public string BSNO { get; set; }
public string MBLNO { get; set; }
public string Yard { get; set; }
public string Vessel { get; set; }
public string Voyno { get; set; }
public string ETD { get; set; }
public string PortLoadId { get; set; }
public string PortLoad { get; set; }
public string PortDischargeId { get; set; }
public string PortDischarge { get; set; }
public string CntrTotal { get; set; }
public string PlaceReceiptId { get; set; }
public string PlaceReceipt { get; set; }
public string PlaceDeliveryId { get; set; }
public string PlaceDelivery { get; set; }
public string DestinationId { get; set; }
public string Destination { get; set; }
public List FeeList { get; set; }
}
[JsonObject]
public class MsDjyInvLjFeeDetail
{
public string FeeId { get; set; }
public string FeeName { get; set; }
public string CustomerName { get; set; }
public string Unit { get; set; }
public string UnitPrice { get; set; }
public string Quantity { get; set; }
public string Amount { get; set; }
public string Currency { get; set; }
public string ExchangeRate { get; set; }
public string Remark { get; set; }
public string Sort { get; set; }
public string TaxRate { get; set; }
public string NoTaxAmount { get; set; }
public string Tax { get; set; }
}
public class JsonDjyMsInvFee
{
public System.Collections.Generic.List message { get; set; }
public string status { get; set; }
}
//
}