mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-20 00:16:37 +08:00
40 lines
911 B
C#
40 lines
911 B
C#
|
|
using SqlSugar;
|
|||
|
|
using Volo.Abp.Auditing;
|
|||
|
|
using Volo.Abp.Domain.Entities;
|
|||
|
|
|
|||
|
|
namespace Yi.Framework.AiHub.Domain.Entities;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// ai用户表
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("Ai_UserExtraInfo")]
|
|||
|
|
[SugarIndex($"index_{nameof(UserId)}", nameof(UserId), OrderByType.Asc)]
|
|||
|
|
public class AiUserExtraInfoEntity : Entity<Guid>, IHasCreationTime, ISoftDelete
|
|||
|
|
{
|
|||
|
|
public AiUserExtraInfoEntity()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public AiUserExtraInfoEntity(Guid userId, string fuwuhaoOpenId)
|
|||
|
|
{
|
|||
|
|
this.UserId = userId;
|
|||
|
|
this.FuwuhaoOpenId = fuwuhaoOpenId;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户id
|
|||
|
|
/// </summary>
|
|||
|
|
public Guid UserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 服务号,openid
|
|||
|
|
/// </summary>
|
|||
|
|
public string FuwuhaoOpenId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime CreationTime { get; set; }
|
|||
|
|
|
|||
|
|
public bool IsDeleted { get; set; }
|
|||
|
|
}
|