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

namespace CallCenterApi.Model
{
    /// <summary>
	/// 操作记录表
	/// </summary>
	[Serializable]
    public partial class T_Repository_Operation
    {
        public T_Repository_Operation()
        { }
        #region Model
        private int _f_id;
        private int? _f_repositoryid;
        private int? _f_auditid;
        private int? _f_logid;
        private int? _f_opttype;
        private string _f_optcontent;
        private int? _f_state;
        private string _f_optby;
        private DateTime? _f_opton;
        private string _f_reason;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int F_Id
        {
            set { _f_id = value; }
            get { return _f_id; }
        }
        /// <summary>
        /// 知识库ID
        /// </summary>
        public int? F_RepositoryId
        {
            set { _f_repositoryid = value; }
            get { return _f_repositoryid; }
        }
        /// <summary>
        /// 审核ID
        /// </summary>
        public int? F_AuditId
        {
            set { _f_auditid = value; }
            get { return _f_auditid; }
        }
        /// <summary>
        /// 日志ID
        /// </summary>
        public int? F_LogId
        {
            set { _f_logid = value; }
            get { return _f_logid; }
        }
        /// <summary>
        /// 操作类型：1添加，2修改，3删除，4审核
        /// </summary>
        public int? F_OptType
        {
            set { _f_opttype = value; }
            get { return _f_opttype; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string F_OptContent
        {
            set { _f_optcontent = value; }
            get { return _f_optcontent; }
        }
        /// <summary>
        /// 知识库状态
        /// </summary>
        public int? F_State
        {
            set { _f_state = value; }
            get { return _f_state; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public string F_OptBy
        {
            set { _f_optby = value; }
            get { return _f_optby; }
        }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? F_OptOn
        {
            set { _f_opton = value; }
            get { return _f_opton; }
        }
        /// <summary>
        /// 未解决原因
        /// </summary>
        public string F_Reason
        {
            set { _f_reason = value; }
            get { return _f_reason; }
        }
        #endregion Model
    }
    /// <summary>
    /// 操作类型：0查看，1添加，2修改，3删除，4提交审核，5审核，6解决，7未解决，8添加索要，9修改索要，10删除索要
    /// </summary>
    public enum EnumRepositoryOptType
    {
        look,
        add,
        update,
        delete,
        submit,
        audit,
        solved,
        unsolved,
        adddemands,
        updatedemands,
        deletedemands
    }
}
