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.
186 lines
6.1 KiB
C#
186 lines
6.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace DSWeb.Common.DB
|
|
{
|
|
public class VgmDataContext : DbContext
|
|
{
|
|
public VgmDataContext() : base("DongShengDB")
|
|
{
|
|
|
|
}
|
|
|
|
public VgmDataContext(string conn) : base(conn)
|
|
{
|
|
|
|
}
|
|
|
|
public DbSet<OP_SEAE_VGM> Vgms { get; set; }
|
|
public DbSet<OP_SEAE_VGM_CTN> Ctns { get; set; }
|
|
public DbSet<OP_SEAE_VGM_STATUS> Status { get; set; }
|
|
|
|
}
|
|
|
|
[Table("op_seae_vgm")]
|
|
public class OP_SEAE_VGM
|
|
{
|
|
public OP_SEAE_VGM()
|
|
{
|
|
this.MFNO = "";
|
|
this.CangDanMFNO = "";
|
|
this.MBLNO = "";
|
|
this.CARRIER = "";
|
|
this.WeiTuoFaSongFang = "";
|
|
this.SENDSTATUS = "";
|
|
this.ChuanMing = "";
|
|
this.HangCi = "";
|
|
this.LuRuRen = "";
|
|
this.LuRuRenId = "";
|
|
this.BeiZhu = "";
|
|
this.FaHuoRenXinXi = "";
|
|
this.ShouHuoRenXinXi = "";
|
|
this.TongZhiRenXinXi = "";
|
|
this.ZhuangHuoGang = "";
|
|
this.ZhuangHuoGangDaiMa = "";
|
|
this.XieHuoGang = "";
|
|
this.XieHuoGangDaiMa = "";
|
|
this.ShouHuoDi = "";
|
|
this.ShouHuoDiDaiMa = "";
|
|
this.MuDiDi = "";
|
|
this.MuDiDiDaiMa = "";
|
|
this.MaiTou = "";
|
|
this.HuoWuMiaoShu = "";
|
|
this.HuoWuLeiXing = "";
|
|
this.JiZhuangXiang = "";
|
|
this.BaoZhuang = "";
|
|
this.HuiZhiZhuangTai = "";
|
|
this.YARD = "";
|
|
this.ORDERNO = "";
|
|
this.ZongChiMa = 0;
|
|
}
|
|
|
|
[Key]
|
|
public string MFNO { get; set; }
|
|
public string CangDanMFNO { get; set; }
|
|
public string MBLNO { get; set; }
|
|
public string CARRIER { get; set; }
|
|
public DateTime? ETD { get; set; }
|
|
public string WeiTuoFaSongFang { get; set; }
|
|
public string SENDSTATUS { get; set; }
|
|
public string ChuanMing { get; set; }
|
|
public string HangCi { get; set; }
|
|
public string LuRuRen { get; set; }
|
|
public string LuRuRenId { get; set; }
|
|
public DateTime? LuRuRiQi { get; set; }
|
|
public string BeiZhu { get; set; }
|
|
public string FaHuoRenXinXi { get; set; }
|
|
public string ShouHuoRenXinXi { get; set; }
|
|
public string TongZhiRenXinXi { get; set; }
|
|
public string ZhuangHuoGang { get; set; }
|
|
public string ZhuangHuoGangDaiMa { get; set; }
|
|
public string XieHuoGang { get; set; }
|
|
public string XieHuoGangDaiMa { get; set; }
|
|
public string ShouHuoDi { get; set; }
|
|
public string ShouHuoDiDaiMa { get; set; }
|
|
public string MuDiDi { get; set; }
|
|
public string MuDiDiDaiMa { get; set; }
|
|
public string MaiTou { get; set; }
|
|
public string HuoWuMiaoShu { get; set; }
|
|
public string HuoWuLeiXing { get; set; }
|
|
public int ZongJianShu { get; set; }
|
|
public decimal? ZongZhongLiang { get; set; }
|
|
public string JiZhuangXiang { get; set; }
|
|
public string BaoZhuang { get; set; }
|
|
public decimal? ZongChiMa { get; set; }
|
|
public string HuiZhiZhuangTai { get; set; }
|
|
public DateTime? ZhuangTaiShiJian { get; set; }
|
|
public string YARD { get; set; }
|
|
public string ORDERNO { get; set; }
|
|
public DateTime? VGMCLOSETIME { get; set; }
|
|
}
|
|
|
|
|
|
[Table("op_seae_vgm_ctn")]
|
|
public class OP_SEAE_VGM_CTN
|
|
{
|
|
public OP_SEAE_VGM_CTN()
|
|
{
|
|
this.ctn_id = "";
|
|
this.MFNO = "";
|
|
this.CTNCODE = "";
|
|
this.SIZE = "";
|
|
this.CTN = "";
|
|
this.CTNALL = "";
|
|
this.CNTRNO = "";
|
|
this.SEALNO = "";
|
|
this.KINDPKGS = "";
|
|
this.DESCRIPTION = "";
|
|
this.MARKS = "";
|
|
this.PO = "";
|
|
this.SKU = "";
|
|
this.SKUDESCRIP = "";
|
|
this.DUNNO = "";
|
|
this.HTS = "";
|
|
this.CTOFORIGIN = "";
|
|
this.CTNOWNER = "";
|
|
this.ShiFengRen = "";
|
|
this.ChengZhongFangShi = "";
|
|
this.ChengZhongShiJian = "";
|
|
this.remark = "";
|
|
|
|
}
|
|
|
|
[Key]
|
|
public string ctn_id { get; set; }
|
|
public string MFNO { get; set; }
|
|
public string CTNCODE { get; set; }
|
|
public string SIZE { get; set; }
|
|
public string CTN { get; set; }
|
|
public int CTNNUM { get; set; }
|
|
public int TEU { get; set; }
|
|
public string CTNALL { get; set; }
|
|
public string CNTRNO { get; set; }
|
|
public string SEALNO { get; set; }
|
|
public int? PKGS { get; set; }
|
|
public decimal? KGS { get; set; }
|
|
public decimal? CBM { get; set; }
|
|
public string KINDPKGS { get; set; }
|
|
public string DESCRIPTION { get; set; }
|
|
public string MARKS { get; set; }
|
|
public string PO { get; set; }
|
|
public string SKU { get; set; }
|
|
public string SKUDESCRIP { get; set; }
|
|
public string DUNNO { get; set; }
|
|
public string HTS { get; set; }
|
|
public string CTOFORIGIN { get; set; }
|
|
public decimal? GOODVALUE { get; set; }
|
|
public string CTNOWNER { get; set; }
|
|
public string ShiFengRen { get; set; }
|
|
public int? ZhongKongBiaoShi { get; set; }
|
|
public decimal? ChengZhongZhongLiang { get; set; }
|
|
public string ChengZhongFangShi { get; set; }
|
|
public string ChengZhongShiJian { get; set; }
|
|
public string remark { get; set; }
|
|
public decimal PIZHONG { get; set; }
|
|
}
|
|
|
|
[Table("op_seae_vgm_status")]
|
|
public class OP_SEAE_VGM_STATUS
|
|
{
|
|
[Key]
|
|
public string gid { get; set; }
|
|
public string mfno { get; set; }
|
|
public string statustext { get; set; }
|
|
public DateTime? statustime { get; set; }
|
|
public DateTime? createtime { get; set; }
|
|
public string cntrno { get; set; }
|
|
public string mblno { get; set; }
|
|
public string TIPS { get; set; }
|
|
}
|
|
|
|
} |