ow
This commit is contained in:
1 parent
44ed43516e
commit
996bb243df
5 files changed
+56
-72
No files matched your search
@@ -31,14 +31,6 @@ namespace CloudBuilder.AI.Entity
|
||||
public string PersonName { get; set; }
|
||||
[Column("actor_name")]
|
||||
public string? ActorName { get; set; }
|
||||
[Column("gender")]
|
||||
public string? Gender { get; set; }
|
||||
[Column("sentiment")]
|
||||
public string? Sentiment { get; set; }
|
||||
[Column("sound_file_path")]
|
||||
public string? SoundFilePath { get; set; }
|
||||
[Column("status")]
|
||||
public string? Status { get; set; }
|
||||
|
||||
public const string CREATED_DATETIME = "CreatedDatetime";
|
||||
public const string CREATED_BY = "CreatedBy";
|
||||
@@ -48,13 +40,9 @@ namespace CloudBuilder.AI.Entity
|
||||
public const string BOOK_ID = "BookId";
|
||||
public const string PERSON_NAME = "PersonName";
|
||||
public const string ACTOR_NAME = "ActorName";
|
||||
public const string GENDER = "Gender";
|
||||
public const string SENTIMENT = "Sentiment";
|
||||
public const string SOUND_FILE_PATH = "SoundFilePath";
|
||||
public const string STATUS = "Status";
|
||||
|
||||
public const string DB_NAME_AI_BOOK_PERSON = "ai_book_person";
|
||||
public const string DB_NAME_FIELDS="created_datetime,created_by,updated_datetime,updated_by,person_id,book_id,person_name,actor_name,gender,sentiment,sound_file_path,status";
|
||||
public const string DB_NAME_FIELDS="created_datetime,created_by,updated_datetime,updated_by,person_id,book_id,person_name,actor_name";
|
||||
|
||||
public const string DB_CREATED_DATETIME = "created_datetime";
|
||||
public const string DB_CREATED_BY = "created_by";
|
||||
@@ -64,10 +52,6 @@ namespace CloudBuilder.AI.Entity
|
||||
public const string DB_BOOK_ID = "book_id";
|
||||
public const string DB_PERSON_NAME = "person_name";
|
||||
public const string DB_ACTOR_NAME = "actor_name";
|
||||
public const string DB_GENDER = "gender";
|
||||
public const string DB_SENTIMENT = "sentiment";
|
||||
public const string DB_SOUND_FILE_PATH = "sound_file_path";
|
||||
public const string DB_STATUS = "status";
|
||||
|
||||
|
||||
public static AiBookPersonEntity GetInstance()
|
||||
@@ -95,10 +79,6 @@ namespace CloudBuilder.AI.Entity
|
||||
this.BookId = source.BookId;
|
||||
this.PersonName = source.PersonName;
|
||||
this.ActorName = source.ActorName;
|
||||
this.Gender = source.Gender;
|
||||
this.Sentiment = source.Sentiment;
|
||||
this.SoundFilePath = source.SoundFilePath;
|
||||
this.Status = source.Status;
|
||||
|
||||
if (includeSystemFields)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user