using APT.BaseData.Domain.Entities;
using APT.BaseData.Domain.Entities.FM;
using APT.BaseData.Domain.Enums.PF;
using APT.Infrastructure.Core;
using APT.MS.Domain.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace APT.MS.Domain.Entities.SC
{
    [Description("别的模块触发生成会议表单 隔离会议模块")]
    public class T_SC_MT_MEETING_BEGIN : MesEntityBase
    {
        /// <summary>
        /// 触发来源类型
        /// </summary>
        public SOURCETYPE SOURCETYPE { get; set; }

        /// <summary>
        /// 表名称
        /// </summary>
        [DataFieldLength(50)]
        public string TABLENAME { get; set; }

        /// <summary>
        /// 表单ID
        /// </summary>
        public Guid DATA_ID { get; set; }

        /// <summary>
        /// 会议ID（有可能是预设） 实际 按  ISBEGIN 来判断是否 开始
        /// </summary>
        public Guid? MEETING_ID { get; set; }

        /// <summary>
        /// 是否触发会议
        /// </summary>
        public bool ISBEGIN { get; set; } = false;

        /// <summary>
        /// 操作次数 每次操作做++
        /// </summary>
        public int RUN_COUNT { get; set; } = 0;

        /// <summary>
        /// 接收表单人员
        /// </summary>
        public Guid USER_ID { get; set; }

        /// <summary>
        /// 超过这个时间就不理
        /// 备用 可能不需要
        /// </summary>
        public DateTime? END_IGNORE { get; set; }
    }
}