using System;
using Edu.Common.Enum.User;
using VT.FW.DB;

namespace Edu.Model.Entity.Log
{
    /// <summary>
    /// 用户信息修改记录实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_User_ChangeLog
    {
		/// <summary>
		/// 主键
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 创建人
		/// </summary>
		public int CreateBy { get; set; }

		/// <summary>
		/// 日志内容
		/// </summary>
		public string LogContent { get; set; }

		/// <summary>
		/// 集团编号
		/// </summary>
		public int Group_Id { get; set; }

		/// <summary>
		/// 校区编号
		/// </summary>
		public int School_Id { get; set; }

        private int type = 1;

        /// <summary>
        /// 类型  1日常日志   2订单日志
        /// </summary>
        public int Type { get => type; set => type = value; }


		/// <summary>
		/// 账号类型(1-管理端，2,-教师端，3-助教，4-学生)
		/// </summary>
		public AccountTypeEnum AccountType { get; set; }

		/// <summary>
		/// 来源id
		/// </summary>
		public int SourceId { get; set; }
    }
}
