@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'ToDo Items'
define root view entity ZR_TODO_100
as select from ztodo_100
{
key task_uuid as TaskUUID,
title as Title,
description as Description,
status as Status,
priority as Priority,
due_date as DueDate,
completed_at as CompletedAt,
@Semantics.user.createdBy: true
created_by as CreatedBy,
@Semantics.systemDateTime.createdAt: true
created_at as CreatedAt,
@Semantics.user.localInstanceLastChangedBy: true
local_last_changed_by as LocalLastChangedBy,
@Semantics.systemDateTime.localInstanceLastChangedAt: true
local_last_changed_at as LocalLastChangedAt,
@Semantics.systemDateTime.lastChangedAt: true
last_changed_at as LastChangedAt
}