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.
47 lines
857 B
47 lines
857 B
using System.Reflection;
|
|
|
|
namespace Model
|
|
{
|
|
public class Book
|
|
{
|
|
|
|
private long id;
|
|
public long Id
|
|
{
|
|
get { return id; }
|
|
set { id = value;}
|
|
}
|
|
|
|
private string title;
|
|
public string Title
|
|
{
|
|
get { return title; }
|
|
set { title = value; }
|
|
}
|
|
|
|
private string author;
|
|
public string Author
|
|
{
|
|
get { return author; }
|
|
set { author = value; }
|
|
}
|
|
|
|
private string isbn;
|
|
public string Isbn {
|
|
get { return isbn; }
|
|
set { isbn = value; }
|
|
}
|
|
public Book(long id, string title, string author, string isbn)
|
|
{
|
|
Id = id;
|
|
Title = title;
|
|
Author = author;
|
|
Isbn = isbn;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|