using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using MES.Entity;

namespace MES
{
    public partial class MESDB : DbContext
    {
        public MESDB()
            : base("name=DB")
        {
        }

        public virtual DbSet<sysMenuInfo> sysMenuInfo { get; set; }
        public virtual DbSet<sysUserInfo> sysUserInfo { get; set; }
        public virtual DbSet<sysDictDataInfo> sysDictDataInfo { get; set; }
        public virtual DbSet<sysDictTypeInfo> sysDictTypeInfo { get; set; }
        public virtual DbSet<stockInfo> stockInfo { get; set; }
        public virtual DbSet<sysDeptInfo> sysDeptInfo { get; set; }
        public virtual DbSet<sysFunctionInfo> sysFunctionInfo { get; set; }
        public virtual DbSet<sysRoleInfo> sysRoleInfo { get; set; }
        public virtual DbSet<lotteryInfo> lotteryInfo { get; set; }
        public virtual DbSet<sysToolButtonInfo> sysToolButtonInfo { get; set; }
        public virtual DbSet<productInfo> productInfo { get; set; }

        public virtual DbSet<materialInfo> materialInfo { get; set; }

        public virtual DbSet<customerInfo> customerInfo { get; set; }


        public virtual DbSet<supplierInfo> supplierInfo { get; set; }

        public virtual DbSet<quotationInfo> quotationInfo { get; set; }


        public virtual DbSet<quotationdetailInfo> quotationdetailInfo { get; set; }

        public virtual DbSet<saleInfo> saleInfo { get; set; }

        public virtual DbSet<saledetailInfo> saledetailInfo { get; set; }

        public virtual DbSet<deliversaleInfo> deliversaleInfo { get; set; }

        public virtual DbSet<deliversaledetailInfo> deliversaledetailInfo { get; set; }

        public virtual DbSet<returnsaleInfo> returnsaleInfo { get; set; }

        public virtual DbSet<returnsaledetailInfo> returnsaledetailInfo { get; set; }

        public virtual DbSet<productBOMInfo> productBOMInfo { get; set; }

        public virtual DbSet<productBOMdetailInfo> productBOMdetailInfo { get; set; }
    }
}