The Class AuditableFieldDto.
| name | data type | constraints | description |
|---|---|---|---|
| entityClass | string | Entity class | |
| fieldName | string | Field name | |
| id | number | The id. | |
| changeOrigin | string | Change origin | |
| auditableField | array of AuditableFieldDto | ||
| originName | string | Origin name | |
| code | string | required | The code |
| previousState | string | Previous state | |
| currentState | string | Current state | |
| description | string | The description | |
| created | string | Created date | |
| updatedCode | string | The updated code. | |
| actor | string | User who created the record |
Example
{
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}