The system will follow this same hierarchy (Resource > File Type > System) to apply the restriction. If a resource has a 20-days restriction and the file type has a 10-days one, the resource restriction will be applied, since it’s the first in the hierarchy.