// Fill out your copyright notice in the Description page of Project Settings.


#include "BookItem.h"

void UBookItem::SetupBook(const FBookDataStructRow& Row, int32 InID)
{
	ItemCategory = EItemCategory::Book;
	ItemId = InID;
	ItemName = Row.ItemName;
	ItemDescription = Row.ItemDescription;
	BookCategory = Row.BookCategory;
	BookSubCategory = Row.BookSubCategory;
	Price = Row.Price;
	PublicationDate = Row.PublicationDate;
	Author = Row.Author;
	PageNumber = Row.PageNumber;
}
