/**
  * Accept the query condition of unique key as equal.
  *
  * @param memberId (会員ID): UQ+, IX+, NotNull, INT(10), FK to member. (NotNull)
  * @param productId (商品ID): +UQ, IX+, NotNull, INT(10), FK to product. (NotNull)
  * @param purchaseDatetime (購入日時): +UQ, IX+, NotNull, DATETIME(19). (NotNull)
  * @return this. (NotNull)
  */
 public PurchaseCB acceptUniqueOf(
     Integer memberId, Integer productId, java.time.LocalDateTime purchaseDatetime) {
   assertObjectNotNull("memberId", memberId);
   assertObjectNotNull("productId", productId);
   assertObjectNotNull("purchaseDatetime", purchaseDatetime);
   BsPurchaseCB cb = this;
   cb.query().setMemberId_Equal(memberId);
   cb.query().setProductId_Equal(productId);
   cb.query().setPurchaseDatetime_Equal(purchaseDatetime);
   return (PurchaseCB) this;
 }
 /**
  * Accept the query condition of primary key as equal.
  *
  * @param purchaseId (購入ID): PK, ID, NotNull, BIGINT(19). (NotNull)
  * @return this. (NotNull)
  */
 public PurchaseCB acceptPK(Long purchaseId) {
   assertObjectNotNull("purchaseId", purchaseId);
   BsPurchaseCB cb = this;
   cb.query().setPurchaseId_Equal(purchaseId);
   return (PurchaseCB) this;
 }