|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Data.Entity;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Common.DB
|
|
|
|
|
{
|
|
|
|
|
public class CangDanDataContext : DbContext
|
|
|
|
|
{
|
|
|
|
|
public CangDanDataContext() : base("CangDanDB")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public CangDanDataContext(string conn) : base(conn)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DbSet<t_op_seae_edi> t_op_seae_edi { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("t_op_seae_edi")]
|
|
|
|
|
public class t_op_seae_edi
|
|
|
|
|
{
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
|
[MaxLength(12)]
|
|
|
|
|
public string 编号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(12)]
|
|
|
|
|
public string 主编号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string EDI类型 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(8)]
|
|
|
|
|
public string EDI状态 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(12)]
|
|
|
|
|
public string 录入人 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? 录入日期 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(12)]
|
|
|
|
|
public string 业务编号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string 主提单号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string 分提单号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 发货人名称 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 发货人地址1 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 发货人地址2 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 发货人城市 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 发货人邮编 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(2)]
|
|
|
|
|
public string 发货人国家代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(25)]
|
|
|
|
|
public string 发货人联系人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(23)]
|
|
|
|
|
public string 发货人电话 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 收货人名称 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 收货人地址1 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 收货人地址2 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 收货人城市 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 收货人邮编 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(2)]
|
|
|
|
|
public string 收货人国家代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(25)]
|
|
|
|
|
public string 收货人联系人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(23)]
|
|
|
|
|
public string 收货人电话 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 通知人名称 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 通知人地址1 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 通知人地址2 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 通知人城市 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 通知人邮编 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(2)]
|
|
|
|
|
public string 通知人国家代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(25)]
|
|
|
|
|
public string 通知人联系人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(23)]
|
|
|
|
|
public string 通知人电话 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(40)]
|
|
|
|
|
public string 通知人2名称 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(35)]
|
|
|
|
|
public string 通知人2地址1 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(35)]
|
|
|
|
|
public string 通知人2地址2 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 通知人2城市 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 通知人2邮编 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(2)]
|
|
|
|
|
public string 通知人2国家代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(25)]
|
|
|
|
|
public string 通知人2联系人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(23)]
|
|
|
|
|
public string 通知人2电话 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string 发货人代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string 收货人代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string 通知人代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 船名 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 航次 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? 开船日期 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 装货港 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 装港代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 卸货港 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 卸货代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 交货地点 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 交货代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 目的代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 目的地 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 运输条款 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(1000)]
|
|
|
|
|
public string 唛头 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(2000)]
|
|
|
|
|
public string 货物描述 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? 件数 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 包装 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? 重量 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? 尺码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(5)]
|
|
|
|
|
public string 危险品分类 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 危险品编号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(3)]
|
|
|
|
|
public string 冷藏通风量 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(1)]
|
|
|
|
|
public string 温度单位 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(5)]
|
|
|
|
|
public string 设置温度 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(5)]
|
|
|
|
|
public string 最低温度 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(5)]
|
|
|
|
|
public string 最高温度 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(1)]
|
|
|
|
|
public string 货物标识 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 运费协议号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(5)]
|
|
|
|
|
public string 湿度 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(3)]
|
|
|
|
|
public string 发货人州 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(3)]
|
|
|
|
|
public string 收货人州 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(3)]
|
|
|
|
|
public string 通知人州 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(3)]
|
|
|
|
|
public string 通知人2州 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 发货人地址3 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 收货人地址3 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 通知人地址3 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(35)]
|
|
|
|
|
public string 通知人2地址3 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 船舶IMO { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 船公司代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(35)]
|
|
|
|
|
public string 订舱号码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(1)]
|
|
|
|
|
public string 传输目的 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(3)]
|
|
|
|
|
public string 装运类型 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 船舶服务号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 运输方式 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 文件类型 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? 是否最后分票 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? 同收货人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 发货人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 收货人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 通知人 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? 预抵日期 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(60)]
|
|
|
|
|
public string 付费方式 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 签单地点 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 代理代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string 箱号封号 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? 发送时间 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 当前状态 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 场站 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 修改原因 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 船代 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 船公司 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string 委托发送方 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(1000)]
|
|
|
|
|
public string 备注 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string 集装箱 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? 箱数 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? 数据重复 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(30)]
|
|
|
|
|
public string 申报状态 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? 状态日期 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 发送方人员 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 发送方电话 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 揽货人 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? 单价 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 开船时间 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(1000)]
|
|
|
|
|
public string 导入异常 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(300)]
|
|
|
|
|
public string 批注备注 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? 成本 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? 应收 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? 应付 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public byte? 标志 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
public string 发货人邮箱 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
public string 收货人邮箱 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
public string 通知人邮箱 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(150)]
|
|
|
|
|
public string 发货人企业代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(150)]
|
|
|
|
|
public string 收货人企业代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(150)]
|
|
|
|
|
public string 通知人企业代码 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 施封人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 重箱整箱标志 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(40)]
|
|
|
|
|
public string 危险品联系人 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(40)]
|
|
|
|
|
public string 危险品电话 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
public string 转发类型 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? 是否冻代干 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
public string 客户船代账号 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string 异常业务状态 { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(12)]
|
|
|
|
|
public string 状态更新人 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? 状态更新时间 { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|