Anthony Davis signed a lucrative long-term extension extension recently, but if he's going to collect the full value of the contract he'll have to keep his weight in check.

More: Niners Nation

Last week, the 49ers and Davis agreed to a seven-year extension worth $37.295 million. The deal includes "de-escalators" in each season, according to Matt Maiocco of CSN Bay Area. If Davis fails to meet workout and weight requirements, his base pay would be greatly reduced. According to Maiocco, each of the final five years of the deal include a $1.25 million provision which is tied to Davis fulfilling offseason workout and weight requirements.

The 6'3, 323-pound Davis struggled with his weight during college, reportedly weighing as much as 363 pounds as a freshman. As part of his deal, Davis received a $7.5 million signing bonus. If he plays out the life of his contract and fails to meet the requirements each season, he could lose more than $6 million.

More from SB Nation:

• NFL mock draft: Predicting 3 full rounds

• Seahawks sign a QB who's the opposite of Russell Wilson

• Ravens signing Rolando McClain

• Jets to work out Geno Smith | Will release Tebow

• Sneak peek at the Chargers' new offense

• The next step for Mankind: Mick Foley's evolution