2024-12-20 20:09:17 +04:00
|
|
|
|
namespace LDBproject.Entities;
|
|
|
|
|
|
|
|
|
|
public class Registration
|
|
|
|
|
{
|
|
|
|
|
public int ID { get; private set; }
|
|
|
|
|
|
|
|
|
|
public int OrderID { get; private set; }
|
|
|
|
|
|
|
|
|
|
public int BookID { get; private set; }
|
|
|
|
|
|
|
|
|
|
public string Note { get; private set; }
|
|
|
|
|
|
|
|
|
|
public static Registration OrderReg(
|
2024-12-20 23:05:27 +04:00
|
|
|
|
int orderIndex, int bookIndex, string notes)
|
2024-12-20 20:09:17 +04:00
|
|
|
|
{
|
|
|
|
|
return new Registration
|
|
|
|
|
{
|
|
|
|
|
OrderID = orderIndex,
|
|
|
|
|
BookID = bookIndex,
|
|
|
|
|
Note = notes
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|