Class: ServiceStack::AuditBase

Inherits:
Object
  • Object
show all
Includes:
DTO
Defined in:
lib/servicestack/types.rb

Overview

The audit fields of AutoQuery CRUD data models.

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from DTO

#==, included, #initialize, #inspect, #to_hash, #to_json

Instance Attribute Details

#created_byObject

Returns the value of attribute created_by.



103
104
105
# File 'lib/servicestack/types.rb', line 103

def created_by
  @created_by
end

#created_dateObject

Returns the value of attribute created_date.



103
104
105
# File 'lib/servicestack/types.rb', line 103

def created_date
  @created_date
end

#deleted_byObject

Returns the value of attribute deleted_by.



103
104
105
# File 'lib/servicestack/types.rb', line 103

def deleted_by
  @deleted_by
end

#deleted_dateObject

Returns the value of attribute deleted_date.



103
104
105
# File 'lib/servicestack/types.rb', line 103

def deleted_date
  @deleted_date
end

#modified_byObject

Returns the value of attribute modified_by.



103
104
105
# File 'lib/servicestack/types.rb', line 103

def modified_by
  @modified_by
end

#modified_dateObject

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

.propertiesObject



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