public AdminLogViewModel(AdminLog adminLog) { Id = adminLog.Id; Type = adminLog.Type; Parameters = adminLog.Parameters; Description = adminLog.Description(); UserId = adminLog.UserId; Username = adminLog.Username; Permission = adminLog.Permission; CreatedAt = adminLog.CreatedAt; }