struct Movie::Persistence::Id

Overview

Persistence id that combines entity type and entity id.

Defined in:

movie/persistence/protocol.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entity_type : String, entity_id : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(entity_type _entity_type = @entity_type, entity_id _entity_id = @entity_id) #

[View source]
def entity_id : String #

def entity_type : String #

def persistence_id : String #

[View source]