using SqlSugar;
using System.ComponentModel;
using XF.Domain.Repository;

namespace Hotline.CallCenter.BlackLists
{
    /// <summary>
    /// 黑白名单操作记录
    /// </summary>
    [Description("黑白名单操作记录")]
    public class WhiteBlackLog : CreationEntity
    {
        /// <summary>
        /// 操作类型 1：黑名单 2：白名单
        /// </summary>
        [SugarColumn(ColumnDescription = "操作类型", ColumnDataType = "varchar(50)")]
        public string LogType { get; set; }

        /// <summary>
        /// 操作动作
        /// </summary>
        [SugarColumn(ColumnDescription = "操作类型", ColumnDataType = "varchar(50)")]
        public string LogAction { get; set; }

        /// <summary>
        /// 操作号码
        /// </summary>
        [SugarColumn(ColumnDescription = "操作号码")]
        public string PhoneNum { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime? ValidDateTime { get; set; }
    }
}
