Compare commits
3 Commits
a001db2da5
...
f652c95d8c
| Author | SHA1 | Date |
|---|---|---|
|
|
f652c95d8c | |
|
|
bcfb91bc05 | |
|
|
d1f04d5c0c |
|
|
@ -17316,6 +17316,36 @@
|
|||
工作兼职En
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.DoctorBasicInfo.UniversityAffiliated">
|
||||
<summary>
|
||||
大学
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.DoctorBasicInfo.UniversityAffiliatedCN">
|
||||
<summary>
|
||||
大学
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.DoctorBasicInfo.City">
|
||||
<summary>
|
||||
城市
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.DoctorBasicInfo.CityCN">
|
||||
<summary>
|
||||
城市
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.DoctorBasicInfo.HospitalName">
|
||||
<summary>
|
||||
医院
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.DoctorBasicInfo.HospitalNameCN">
|
||||
<summary>
|
||||
医院
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.PaymentModeDto.BankNum">
|
||||
<summary>
|
||||
银行卡号
|
||||
|
|
|
|||
|
|
@ -322,6 +322,35 @@ namespace IRaCIS.Application.Contracts
|
|||
/// </summary>
|
||||
public string WorkPartTimeEn { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 大学
|
||||
/// </summary>
|
||||
public string UniversityAffiliated { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 大学
|
||||
/// </summary>
|
||||
public string UniversityAffiliatedCN { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 城市
|
||||
/// </summary>
|
||||
public string City { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 城市
|
||||
/// </summary>
|
||||
public string CityCN { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 医院
|
||||
/// </summary>
|
||||
public string HospitalName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 医院
|
||||
/// </summary>
|
||||
public string HospitalNameCN { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -67,9 +67,9 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
CreateMap<Vacation, VacationCommand>();
|
||||
CreateMap<ResearchPublication, ResearchPublicationDTO>();
|
||||
CreateMap<Postgraduate, PostgraduateViewModel>()
|
||||
.ForMember(t => t.Hospital, c => c.MapFrom(d => d.HospitalEnt.HospitalName))
|
||||
.ForMember(t => t.HospitalCN, c => c.MapFrom(d => d.HospitalEnt.HospitalNameCN));
|
||||
CreateMap<Postgraduate, PostgraduateViewModel>();
|
||||
// .ForMember(t => t.Hospital, c => c.MapFrom(d => d.HospitalEnt.HospitalName))
|
||||
//.ForMember(t => t.HospitalCN, c => c.MapFrom(d => d.HospitalEnt.HospitalNameCN));
|
||||
CreateMap<Attachment, AttachmentDTO>();
|
||||
CreateMap<Doctor, ResumeConfirmDTO>();
|
||||
|
||||
|
|
|
|||
|
|
@ -251,12 +251,12 @@ public class Doctor : BaseFullAuditEntity
|
|||
/// <summary>
|
||||
/// 大学
|
||||
/// </summary>
|
||||
public string University { get; set; } = string.Empty;
|
||||
public string UniversityAffiliated { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 大学
|
||||
/// </summary>
|
||||
public string UniversityCN { get; set; } = string.Empty;
|
||||
public string UniversityAffiliatedCN { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 城市
|
||||
|
|
@ -271,10 +271,10 @@ public class Doctor : BaseFullAuditEntity
|
|||
/// <summary>
|
||||
/// 医院
|
||||
/// </summary>
|
||||
public string HospitalEn { get; set; } = string.Empty;
|
||||
public string HospitalName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 医院
|
||||
/// </summary>
|
||||
public string HospitalCN { get; set; } = string.Empty;
|
||||
public string HospitalNameCN { get; set; } = string.Empty;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,38 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Doctord : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "HospitalEn",
|
||||
table: "Doctor",
|
||||
newName: "HospitalNameCN");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "HospitalCN",
|
||||
table: "Doctor",
|
||||
newName: "HospitalName");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "HospitalNameCN",
|
||||
table: "Doctor",
|
||||
newName: "HospitalEn");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "HospitalName",
|
||||
table: "Doctor",
|
||||
newName: "HospitalCN");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,38 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class doctorf : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "UniversityCN",
|
||||
table: "Doctor",
|
||||
newName: "UniversityAffiliatedCN");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "University",
|
||||
table: "Doctor",
|
||||
newName: "UniversityAffiliated");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "UniversityAffiliatedCN",
|
||||
table: "Doctor",
|
||||
newName: "UniversityCN");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "UniversityAffiliated",
|
||||
table: "Doctor",
|
||||
newName: "University");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1416,19 +1416,19 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
b.Property<DateTime?>("GCPTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("HospitalCN")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("HospitalEn")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<Guid?>("HospitalId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("HospitalName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("HospitalNameCN")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("HospitalOther")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
|
|
@ -1589,12 +1589,12 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
b.Property<Guid?>("TrialId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("University")
|
||||
b.Property<string>("UniversityAffiliated")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("UniversityCN")
|
||||
b.Property<string>("UniversityAffiliatedCN")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
|
|
|||
Loading…
Reference in New Issue