https://codingnote.cc/p/506944/
规格模式(Specification Pattern)