https://docs.microsoft.com/zh-cn/aspnet/core/security/authentication/customize_identity_model?view=aspnetcore-2.1 实践 Models->ApplicationRole.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.…