diff --git a/API_SQLuedo/EntityFramework/InquiryEntity.cs b/API_SQLuedo/EntityFramework/InquiryEntity.cs index c77e521..3c43ee4 100644 --- a/API_SQLuedo/EntityFramework/InquiryEntity.cs +++ b/API_SQLuedo/EntityFramework/InquiryEntity.cs @@ -6,15 +6,22 @@ public class InquiryEntity public string Title { get; set; } public string Description { get; set; } public bool IsUser { get; set; } + public int IdDatabase { get; set; } public InquiryTableEntity Database { get; set; } + public int IdInquiryTable { get; set; } public SolutionEntity InquiryTable { get; set; } - public InquiryEntity() { } + + public InquiryEntity() + { + } public InquiryEntity(int id) { Id = id; } - public InquiryEntity(int id, string title, string description, bool isUser, InquiryTableEntity database, SolutionEntity inquiryTable) + + public InquiryEntity(int id, string title, string description, bool isUser, InquiryTableEntity database, + SolutionEntity inquiryTable) { Id = id; Title = title; @@ -24,7 +31,8 @@ public class InquiryEntity InquiryTable = inquiryTable; } - public InquiryEntity(string title, string description, bool isUser, InquiryTableEntity database, SolutionEntity inquiryTable) + public InquiryEntity(string title, string description, bool isUser, InquiryTableEntity database, + SolutionEntity inquiryTable) { Id = 0; Title = title; @@ -33,4 +41,15 @@ public class InquiryEntity Database = database; InquiryTable = inquiryTable; } + + public InquiryEntity(int id, string title, string description, bool isUser, int database, + int inquiryTable) + { + Id = id; + Title = title; + Description = description; + IsUser = isUser; + IdDatabase = database; + IdInquiryTable = inquiryTable; + } } \ No newline at end of file