export interface ICheckConstraintOption { name?: string; check: (entity: TE) => boolean; }