This repository has been archived by the owner on Feb 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Entity
Michał B edited this page Mar 21, 2018
·
3 revisions
- This class is a base to all model-classes in AutomobileService.
- This class is responsible for delivering base properties and methods to other model-classes.
- This class contains methods responsible for acting on it.
- This class inherits from the Entity class.
Name | Type | Access | Description |
---|---|---|---|
Id | int | public | Id of the object/entity. |
CreatedAt | DateTime | public | Date of the object/entity creation. |
UpdatedAt | DateTime | public | The date the object/entity was updated. |
Deleted | bool | public | A flag indicating the deletion of an object/entity. |
Name | Type | Access | Description |
---|---|---|---|
Entity | - | public | Constructor initializing all object fields. |
Delete | void | public | A method that sets the delete flag to true. |