using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Models.Engineering
{
    /// <summary>
    /// 项目库
    /// </summary>
    public class Engineering_Management: DbContext
    {
       /// <summary>
       /// 项目db
       /// </summary>
       /// <param name="options"></param>
        public Engineering_Management(DbContextOptions<Engineering_Management> options)
            : base(options)
        {
            this.Database.SetCommandTimeout(600000); //时间单位是毫秒

        }
        /// <summary>
        /// 团队成员
        /// </summary>
        public DbSet<TBL_Engineerning_TeamMember> TBL_Engineerning_TeamMembers { get; set; }

        /// <summary>
        /// 团队成员变更日志
        /// </summary>
        public DbSet<TBL_Engineerning_TeamMember_Log> TBL_Engineerning_TeamMember_Logs { get; set; }

        /// <summary>
        /// 事务列表，用于记录所有的事务
        /// </summary>
        public DbSet<TBL_Event_List> TBL_Event_Lists { get; set; }

        /// <summary>
        /// 事务处理日志
        /// </summary>
        public DbSet<TBL_Event_Process_Log> TBL_Event_Process_Logs { get; set; }

        /// <summary>
        /// 事务类型列表
        /// </summary>
        public DbSet<TBL_EventType_List> TBL_EventType_Lists { get; set; }



    }
}
