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

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 日 期：2024.03.07
    /// 描 述：编号规则种子
    /// </summary>
    [SugarTable("sys_coderuleseed")]
    public class SysCodeRuleSeed
    {
        #region 实体成员
        /// <summary>
        /// 编号规则种子主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string RuleSeedId { get; set; }
        /// <summary>
        /// 编码规则主键
        /// </summary>
        public string RuleId { get; set; }
        /// <summary>
        /// 用户主键
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 种子值
        /// </summary>
        public int? SeedValue { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建用户主键
        /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改用户主键
        /// </summary>
        public string ModifyUserId { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        public string ModifyUserName { get; set; }
        #endregion


        #region 多租户
        /// <summary>
        /// 租户ID
        /// </summary>
        public string TenantId { get; set; }
        #endregion
    }
}
