https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.maxlengthattribute?view=netframework-4.8.1&redirectedfrom=MSDN
MaxLengthAttribute Class (System.ComponentModel.DataAnnotations) | Microsoft Learn
Specifies the maximum length of array or string data allowed in a property.
class systemdataannotationsmicrosoftlearn