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

namespace Models.Models.Engineering
{
    public class TBL_Event_List
    {

        /// <summary>
        /// 自增ID，也即是EventID
        /// </summary>
        [Key, Column(TypeName = "int"), Comment("自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public int ID { get; set; }



        /// <summary>
        /// 当前状态（1：已提交  2：处理中   3：已处理   4：验证中  5：已关闭）
        /// </summary>
        [Column(TypeName = "int"), Comment(" 当前状态（1：已提交  2：处理中   3：已处理   4：验证中  5：已关闭）")] 

        public int CurrentStatus { get; set; }

        /// <summary> 
        /// 事务发生时间，精确到秒
        /// </summary>
        [Column(TypeName = "datetime(3)"), Comment("事务发生时间，精确到秒")]

        public DateTime DateTime { get; set; }

        /// <summary>
        /// 提出人
        /// </summary>
        [Column(TypeName = "varchar(50)"), Comment("事务发生时间，精确到秒")]
        public string Proposer { get; set; }
        /// <summary>
        /// 事务类型   
        /// </summary>
        /// 

        [Column(TypeName = "varchar(50)"), Comment("事务类型")]

        public string EventType { get; set; }
        /// <summary>
        /// 相关酒店
        /// </summary>
        [Column(TypeName = "varchar(255)"), Comment("相关酒店")]
        public int HotelID { get; set; }
        /// <summary>
        /// 相关户型
        /// </summary>


        [Column(TypeName = "varchar(255)"), Comment("相关户型")]

        public int RoomTypeId { get; set; }
        /// <summary>
        /// 相关房间ID
        /// </summary>

        [Column(TypeName = "varchar(255)"), Comment("相关房间ID")]

        public int RoomID { get; set; }
        /// <summary>
        /// 事务描述
        /// </summary>
        [Column(TypeName = "varchar(255)"), Comment("事务描述")]
        public string EventDesc { get; set; }
        /// <summary>
        /// 处理部门
        /// </summary>
        [Column(TypeName = "varchar(50)"), Comment("处理部门")]
        public string Process_Department { get; set; }
        /// <summary>
        /// 处理人
        /// </summary>
        [Column(TypeName = "varchar(50)"), Comment("处理人")]
        public string Process_Handler { get; set; }

        /// <summary>
        /// 处理日期
        /// </summary>
        /// 
        [Column(TypeName = "datetime(3)"), Comment("处理日期")]
        public DateTime Process_TargetDateTime { get; set; }

        /// <summary>
        /// 文本
        /// </summary>
        /// 
        [Column(TypeName = "text"), Comment("文本")]
        public string RtfText { get; set; }

        /// <summary>
        /// Md5
        /// </summary>
        /// 
        [Column(TypeName = "varchar(255)"), Comment("Md5")]
        public string RtfTextMd5 { get; set; }


        /// <summary>
        /// 标题标签
        /// </summary>
        [Column(TypeName = "TINYTEXT"), Comment("标题标签")]

        public string TitleLabel { get; set; }



    }
}
