class Marten::CLI::Generator::Model::Context

Defined in:

marten/cli/generator/model/context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(app_config : Apps::Config, name : String, field_definitions : Array(FieldDefinition), no_timestamps : Bool = false, parent : String | Nil = nil) #

[View source]

Instance Method Detail

def app_config : Marten::Apps::Config #

[View source]
def class_name #

[View source]
def field_definitions : Array(Marten::CLI::Generator::Model::FieldDefinition) #

[View source]
def model_filename #

[View source]
def name : String #

[View source]
def no_timestamps? : Bool #

[View source]
def parent : String? #

[View source]

[View source]