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