File was renamed from FlexJobApi.Core/Entities/Users/UserInfoExpectJob.cs |
| | |
| | | /// <summary> |
| | | /// 用户信息期望岗位 |
| | | /// </summary> |
| | | public class UserInfoExpectJob : CommonEntity, IEntityTypeBuilder<UserInfoExpectJob> |
| | | public class UserExpectJob : CommonEntity, IEntityTypeBuilder<UserExpectJob> |
| | | { |
| | | /// <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 DictionaryData PersonalIdentity { get; set; } |
| | | |
| | | public void Configure(EntityTypeBuilder<UserInfoExpectJob> entityBuilder, DbContext dbContext, Type dbContextLocator) |
| | | public void Configure(EntityTypeBuilder<UserExpectJob> entityBuilder, DbContext dbContext, Type dbContextLocator) |
| | | { |
| | | entityBuilder |
| | | .HasOne(it => it.PersonalIdentity) |