|
|
|
|
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 CommonDataContext : DbContext
|
|
|
|
|
{
|
|
|
|
|
public CommonDataContext() : base("DongShengDB")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public CommonDataContext(string conn) : base(conn)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DbSet<MailSend> MailSend { get; set; }
|
|
|
|
|
public DbSet<MailSendSmtp> MailSendSmtp { get; set; }
|
|
|
|
|
public DbSet<MpConfigInfo> MpConfigs { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<code_FtpSet_md> code_FtpSet { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<OP_LOGICINFO_md> OP_LOGICINFO { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<sys_param_set_md> sys_param_set { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<op_ctn_md> OP_CTN { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<Op_INTERNALTRADEmd> Op_INTERNALTRADE { get; set; }
|
|
|
|
|
public DbSet<info_client_md> info_client { get; set; }
|
|
|
|
|
public DbSet<code_fee_md> code_fee { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<op_other_md> op_other { get; set; }
|
|
|
|
|
public DbSet<ch_fee_md> ch_fee { get; set; }
|
|
|
|
|
public DbSet<ch_fee_invoice_md> ch_fee_invoice { get; set; }
|
|
|
|
|
public DbSet<ch_fee_invoicedetail_md> ch_fee_invoicedetail { get; set; }
|
|
|
|
|
public DbSet<code_goods_inv_md> code_goods_inv { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<ch_fee_do_md> ch_fee_do { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<company_md> company { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<v_op_bs_mb> v_op_bs { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<Info_Client_ACCDATE_mb> Info_Client_ACCDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<v_fee_do_settlement_md> v_fee_do_settlement{ get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<v_ch_fee_settlementinfo_md> v_ch_fee_settlementinfo { get; set; }
|
|
|
|
|
public DbSet<VW_user_md> VW_user { get; set; }
|
|
|
|
|
public DbSet<vw_userattribute_md> vw_userattribute { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<Receipt_Doc_md> Receipt_Doc { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class InvMailInfo
|
|
|
|
|
{
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string ETD { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public string AMOUNT { get; set; }
|
|
|
|
|
public string INVOICENO { get; set; }
|
|
|
|
|
public string pdfurl { get; set; }
|
|
|
|
|
|
|
|
|
|
public string EMAIL { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|