用户参与项目,返回授权 和禁用时间
parent
e931e740e6
commit
7218427ec2
|
@ -98,6 +98,9 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
public Guid UserTypeId { get; set; }
|
public Guid UserTypeId { get; set; }
|
||||||
public string UserTypeShortName { get; set; } = string.Empty;
|
public string UserTypeShortName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public DateTime CreateTime { get; set; }
|
||||||
|
public DateTime UpdateTime { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UserTypeSimpleDTO
|
public class UserTypeSimpleDTO
|
||||||
|
|
|
@ -51,7 +51,14 @@ namespace IRaCIS.Core.Application.Service
|
||||||
IsDeleted = t.IsDeleted,
|
IsDeleted = t.IsDeleted,
|
||||||
JoinTime = t.JoinTime,
|
JoinTime = t.JoinTime,
|
||||||
RemoveTime = t.RemoveTime,
|
RemoveTime = t.RemoveTime,
|
||||||
TrialUserRoleList = t.TrialUserRoleList.Select(t => new UserTypeSelectDto() { IsDeleted = t.IsDeleted, UserTypeId = t.UserRole.UserTypeRole.Id, UserTypeShortName = t.UserRole.UserTypeRole.UserTypeShortName }).ToList(),
|
TrialUserRoleList = t.TrialUserRoleList.Select(t => new UserTypeSelectDto()
|
||||||
|
{
|
||||||
|
IsDeleted = t.IsDeleted,
|
||||||
|
UserTypeId = t.UserRole.UserTypeRole.Id,
|
||||||
|
UserTypeShortName = t.UserRole.UserTypeRole.UserTypeShortName,
|
||||||
|
CreateTime=t.CreateTime,
|
||||||
|
UpdateTime=t.UpdateTime,
|
||||||
|
}).ToList(),
|
||||||
|
|
||||||
}).ToPagedListAsync(inQuery);
|
}).ToPagedListAsync(inQuery);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue