Describes an activity for proactive time management
| name | data type | constraints | description |
|---|---|---|---|
| category | ProactiveTimeCategory | required | The category that this activity belongs to. |
| name | string | Name of this activity | |
| points1 | number | ||
| points2 | number | ||
| points3 | number | ||
| active | boolean | required boolean | Whether or not this activity is allowed to be recorded at this time. |
Properties inherited from BaseHibernateEntity |
|||
| id | number | The unique internal ID of the object. | |
| version | number | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | |
Properties inherited from BaseEntity |
|||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. | |
Example
{
"category" : {
"name" : "...",
"permission" : "...",
"active" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"name" : "...",
"points1" : 12345,
"points2" : 12345,
"points3" : 12345,
"active" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}