2025-06-21 13:02:38 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
|
|
|
2025-06-27 22:13:26 +08:00
|
|
|
|
namespace Yi.Framework.AiHub.Domain.Entities.Chat;
|
2025-06-21 13:02:38 +08:00
|
|
|
|
|
|
|
|
|
|
[SugarTable("Ai_Session")]
|
|
|
|
|
|
[SugarIndex($"index_{{table}}_{nameof(UserId)}",$"{nameof(UserId)}", OrderByType.Asc)]
|
|
|
|
|
|
public class SessionAggregateRoot : FullAuditedAggregateRoot<Guid>
|
|
|
|
|
|
{
|
|
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
|
public string SessionTitle { get; set; }
|
2025-06-29 12:21:28 +08:00
|
|
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
2025-06-21 13:02:38 +08:00
|
|
|
|
public string SessionContent { get; set; }
|
2025-06-22 19:09:13 +08:00
|
|
|
|
public string? Remark { get; set; }
|
2025-06-21 13:02:38 +08:00
|
|
|
|
}
|