You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Entities
|
|
{
|
|
public class InquiryEntity
|
|
{
|
|
public int Id { get; }
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public bool IsUser { get; set; }
|
|
public InquiryTableEntity Database { get; set; }
|
|
public SolutionEntity InquiryTable { get; set; }
|
|
public InquiryEntity() { }
|
|
|
|
public InquiryEntity(int id)
|
|
{
|
|
Id = id;
|
|
}
|
|
public InquiryEntity(int id, string title, string description, bool isUser, InquiryTableEntity database, SolutionEntity inquiryTable)
|
|
{
|
|
Id = id;
|
|
Title = title;
|
|
Description = description;
|
|
IsUser = isUser;
|
|
Database = database;
|
|
InquiryTable = inquiryTable;
|
|
}
|
|
|
|
public InquiryEntity(string title, string description, bool isUser, InquiryTableEntity database, SolutionEntity inquiryTable)
|
|
{
|
|
Id = 0;
|
|
Title = title;
|
|
Description = description;
|
|
IsUser = isUser;
|
|
Database = database;
|
|
InquiryTable = inquiryTable;
|
|
}
|
|
}
|
|
}
|