转自https://www.cnblogs.com/caofangsheng/p/5023639.html
关于注解的相关学习网页
http://www.entityframeworktutorial.net/code-first/maxlength-minlength-dataannotations-attribute-in-code-first.aspx