less Than
Creates a Specification that checks if the property is less than the given value.
Receiver
T – the type of the entity.
P - the type of the property, which must be Comparable.
Return
A Specification that checks if the property is less than the given value.
Parameters
value
– the value to compare against.