导出名称
This commit is contained in:
@@ -9,21 +9,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||
[Table("Dictionary")]
|
||||
public partial class Dictionary : Entity, IAuditUpdate, IAuditAdd
|
||||
{
|
||||
private readonly IUserInfo _userInfo;
|
||||
|
||||
public List<DoctorDictionary> DoctorDicRelationList { get; set; } = new List<DoctorDictionary>();
|
||||
|
||||
//³£¹æµ÷ÓÃ
|
||||
public Dictionary()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Dictionary(IUserInfo userInfo )
|
||||
{
|
||||
_userInfo = userInfo;
|
||||
}
|
||||
|
||||
|
||||
[Column("Value")]
|
||||
public string Value { get; set; } = string.Empty;
|
||||
@@ -72,7 +60,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
//²âÊÔ
|
||||
[NotMapped]
|
||||
public string MappedValue => _userInfo.IsEn_Us ? Value : ValueCN;
|
||||
public string MappedValue { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user