ow
This commit is contained in:
1 parent
2e990e687f
commit
4ec2502778
53 files changed
+365
-1854
No files matched your search
@@ -11,9 +11,8 @@ namespace CloudBuilder.AI.Data
|
||||
{
|
||||
public AiBookData() { }
|
||||
public AiBookEntity AiBook { get; set; }
|
||||
public AiChapterEntity[]? AiChapters { get; set; }
|
||||
public AiChapterDisplayData[]? AiChapters { get; set; }
|
||||
public AiBookPersonEntity[]? AiBookPersons { get; set; }
|
||||
public AiParagraphEntity[]? AiParagraphs { get; set; }
|
||||
public AiSentenceEntity[]? AiSentences { get; set; }
|
||||
|
||||
public const string FILE_NAME = "FileName";
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
using CloudBuilder.AI.Entity;
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using CloudBuilder.Security.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CloudBuilder.AI.Data
|
||||
{
|
||||
/// <summary>
|
||||
/// 排除实体类标记
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
[TypeScript]
|
||||
public class AiChapterDisplayData : AiChapterEntity
|
||||
{
|
||||
public const string CONTENT = "Content";
|
||||
|
||||
public AiChapterDisplayData()
|
||||
{
|
||||
}
|
||||
public AiChapterDisplayData(AiChapterEntity entity)
|
||||
{
|
||||
CopyFrom(entity);
|
||||
}
|
||||
|
||||
public string? Content { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
using CloudBuilder.AI.Entity;
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using CloudBuilder.Core.Service;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CloudBuilder.AI.Data
|
||||
{
|
||||
|
||||
[TypeScript]
|
||||
public class AiParagraphResultData : SearchCriteriaResultData
|
||||
{
|
||||
public AiParagraphEntity[]? Datas { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user