File was renamed from FlexJobApi.Core/Entities/Users/UserInfoCredential.cs |
| | |
| | | /// <summary> |
| | | /// 用户信息资格证书 |
| | | /// </summary> |
| | | public class UserInfoCredential : CommonEntity, IEntityTypeBuilder<UserInfoCredential> |
| | | public class UserCredential : CommonEntity, IEntityTypeBuilder<UserCredential> |
| | | { |
| | | /// <summary> |
| | | /// 用户信息Id |
| | | /// </summary> |
| | | public Guid UserInfoId { get; set; } |
| | | public Guid UserId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 用户信息 |
| | | /// </summary> |
| | | public UserInfo UserInfo { get; set; } |
| | | public User User { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 证书类型编号 |
| | |
| | | /// </summary> |
| | | public string BackImg { get; set; } |
| | | |
| | | public void Configure(EntityTypeBuilder<UserInfoCredential> entityBuilder, DbContext dbContext, Type dbContextLocator) |
| | | public void Configure(EntityTypeBuilder<UserCredential> entityBuilder, DbContext dbContext, Type dbContextLocator) |
| | | { |
| | | entityBuilder |
| | | .HasOne(it => it.Type) |