Class: ServiceStack::AuditBase
- Inherits:
-
Object
- Object
- ServiceStack::AuditBase
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
The audit fields of AutoQuery CRUD data models.
Instance Attribute Summary collapse
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#created_date ⇒ Object
Returns the value of attribute created_date.
-
#deleted_by ⇒ Object
Returns the value of attribute deleted_by.
-
#deleted_date ⇒ Object
Returns the value of attribute deleted_date.
-
#modified_by ⇒ Object
Returns the value of attribute modified_by.
-
#modified_date ⇒ Object
Returns the value of attribute modified_date.
Class Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#created_by ⇒ Object
Returns the value of attribute created_by.
103 104 105 |
# File 'lib/servicestack/types.rb', line 103 def created_by @created_by end |
#created_date ⇒ Object
Returns the value of attribute created_date.
103 104 105 |
# File 'lib/servicestack/types.rb', line 103 def created_date @created_date end |
#deleted_by ⇒ Object
Returns the value of attribute deleted_by.
103 104 105 |
# File 'lib/servicestack/types.rb', line 103 def deleted_by @deleted_by end |
#deleted_date ⇒ Object
Returns the value of attribute deleted_date.
103 104 105 |
# File 'lib/servicestack/types.rb', line 103 def deleted_date @deleted_date end |
#modified_by ⇒ Object
Returns the value of attribute modified_by.
103 104 105 |
# File 'lib/servicestack/types.rb', line 103 def modified_by @modified_by end |
#modified_date ⇒ Object
Returns the value of attribute modified_date.
103 104 105 |
# File 'lib/servicestack/types.rb', line 103 def modified_date @modified_date end |
Class Method Details
.properties ⇒ Object
105 106 107 108 109 110 111 112 113 114 |
# File 'lib/servicestack/types.rb', line 105 def self.properties { created_date: { name: 'createdDate', type: DateTime }, created_by: { name: 'createdBy' }, modified_date: { name: 'modifiedDate', type: DateTime }, modified_by: { name: 'modifiedBy' }, deleted_date: { name: 'deletedDate', type: DateTime }, deleted_by: { name: 'deletedBy' }, } end |