Re: RES: Should I put this Invariant within a domain service or aggregate itself?

"[email protected] [domaindrivendesign]" <[email protected]> 22 May 2015 06:07:33 -0700
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>
here are a few of the invariants: 

 - deals can only be purchased between a start and end date
 - deals are only considered effective when a minimum amount of purchases are made
 - deals have a maximum allowed purchases
 - deals have a maximum allowed purchases per user
 

 the deal aggregate sounds like the right place to enforce these invariants. how else would you enforce this?