public Borrow(ReaderId readerId, CopyId copyId) { BorrowId = new BorrowId(Guid.NewGuid()); ReaderId = readerId; CopyId = copyId; BorrowDate = DateTime.Now; ReturnDate = BorrowDate.AddDays(30); }
public OwnerId(BorrowId id) : base(id.Value) { }