示例#1
0
 public void SetProductCode(ProductCode productCode)
 {
     Code = productCode ?? throw new PKShopException(Codes.InvalidProductCode,
                                                     "Product code can not be empty.");
     UpdatedAt = DateTime.UtcNow;
 }