Method: Propertyware::OwnerDraw#hash

Defined in:
lib/propertyware/models/owner_draw.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



275
276
277
# File 'lib/propertyware/models/owner_draw.rb', line 275

def hash
  [amount, comments, contact_id, created_by, created_date_time, date, , , id, last_modified_by, last_modified_date_time, payment_type, portfolio_id, ref_no].hash
end