院校库增加字段

develop
old易 2023-12-04 15:04:09 +08:00
parent 12cd58ec80
commit a2033443a3
2 changed files with 18 additions and 2 deletions

View File

@ -73,6 +73,16 @@ namespace New_College.Model.ViewModels
/// 创办时间
/// </summary>
public string BuildDate { get; set; }
/// <summary>
/// 地址
/// </summary>
public string Address { get; set; }
/// <summary>
/// 电话
/// </summary>
public string Phone { get; set; }
/// <summary>
/// 院士数
/// </summary>

View File

@ -158,6 +158,12 @@ namespace New_College.Services
Nature = c.Nature,
AscriptionName = c.AscriptionName,
AreaName = c.Area_Name,
AcademicianCount = c.Academician_Count,
Address = c.Address,
BuildDate = c.Build_Date,
DoctorateCount = c.Doctorate_Count,
Phone = c.Phone,
Web = c.Web,
Logo = c.Logo,
Syl = c.Syl == 1,
Nhef = c.Nhef == 1,