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