using SqlSugar;

namespace XingTang.Sdk
{
    /// <summary>
    /// 兴唐黑名单
    /// </summary>
    [SugarTable("sys_blackphone")]
    public class XingtangBlackPhone
    {
        [SugarColumn(IsPrimaryKey = true)]
        /// <summary>
        /// 黑名单号码ID
        /// </summary>
        public int BlackPhoneId { get; set; }

        /// <summary>
        /// 黑名单号码起始号段
        /// </summary>
        public string? StartPhone { get; set; }

        /// <summary>
        /// 黑名单号码结束号段
        /// </summary>
        public string? EndPhone { get; set; }

        /// <summary>
        /// 类别（分号段和单号，单号即起始号段） 直接填0
        /// </summary>
        public int? PhoneType { get; set; }

        /// <summary>
        /// 黑名单组ID
        /// </summary>
        public string? BlackGroupid { get; set; }

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

        /// <summary>
        /// 是否生效(0:不生效，1：生效)
        /// </summary>
        public int? Enabled { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        public int? SortCode { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public int? DeleteMark { get; set; }

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

        /// <summary>
        /// 创建用户主键
        /// </summary>
        public string? CreateUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改用户主键
        /// </summary>
        public string? ModifyUserId { get; set; }
    }
}
