using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace DSWeb.Common.DB { ///用于BI统计的视图和表 /// /// /// 港口 /// [Table("VW_Port")] public class VW_Port_md { [Key] public string PORT { get; set; } public string EDICODE { get; set; } } [Table("BIREPORT_BILL")] public class BIREPORT_BILL_md { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public long Id { get; set; } public string CUSTOMERNAME { get; set; } public string ACCDATE { get; set; } public DateTime? ETD { get; set; } public string OPLBNAME { get; set; } public string COMPANYNAME { get; set; } public string SALECOMPANYNAME { get; set; } public string DEPTNAME { get; set; } public string SALE { get; set; } public string OP { get; set; } public string DOC { get; set; } public string CUSTSERVICE { get; set; } public string PORTLOADID { get; set; } public string PORTDISCHAGEID { get; set; } public string LANE { get; set; } public decimal? TEU { get; set; } public int? CNTR1 { get; set; } public int? CNTR2 { get; set; } public int? CNTR3 { get; set; } public int? CNTR4 { get; set; } public int? CNTR5 { get; set; } public int? CNTR6 { get; set; } public int? CNTR7 { get; set; } public int? CNTR8 { get; set; } public int? CNTR9 { get; set; } public int? CNTR10 { get; set; } public int? OTCNTR { get; set; } public int? BILLCOUNT { get; set; } public decimal? TTLDR { get; set; } public decimal? TTLCR { get; set; } public decimal? TTLPROFIT { get; set; } } [Table("BIREPORT_NODRCR")] public class BIREPORT_NODRCR_md { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public long Id { get; set; } public string CUSTNAME { get; set; } public string CUSTOMERNAME { get; set; } public string ACCDATE { get; set; } public DateTime? ETD { get; set; } public string OPLBNAME { get; set; } public string COMPANYNAME { get; set; } public string SALECOMPANYNAME { get; set; } public string DEPTNAME { get; set; } public string SALE { get; set; } public string OP { get; set; } public string DOC { get; set; } public string CUSTSERVICE { get; set; } public string PORTLOADID { get; set; } public string PORTDISCHAGEID { get; set; } public string LANE { get; set; } public decimal? TTLDR { get; set; } public decimal? TTLCR { get; set; } public decimal? TTLNODR { get; set; } public decimal? TTLNOCR { get; set; } } }