jduv·10 ปีที่แล้ว·discussI'm surprised there was no mention of the Specification pattern.https://en.wikipedia.org/wiki/Specification_pattern
https://en.wikipedia.org/wiki/Specification_pattern