namespace DatabaseEditor.Messages
{
    public class CreateDatabaseMessage
    {
        public bool CreateDb { get; }
        public int AuthorsCount { get; }
        public int BooksCount { get; }
        public int MinAuthorsBooks { get; }
        public int MaxAuthorsBooks { get; }

        public CreateDatabaseMessage(bool createDb, int authorsCount, int booksCount, int minAuthorsBooks, int maxAuthorsBooks)
        {
            CreateDb = createDb;
            AuthorsCount = authorsCount;
            BooksCount = booksCount;
            MinAuthorsBooks = minAuthorsBooks;
            MaxAuthorsBooks = maxAuthorsBooks;
        }
    }
}
