class SaveReport
- SaveReport
- Report::SaveOperation
- Avram::SaveOperation(Report)
- Reference
- Object
Defined in:
operations/save_report.crConstant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: id, type: Int64, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: target_total_count, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: processed_total_count, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: qualified_total_count, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_date, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_year_num, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_month_num, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_week_num, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: process_line_id, type: ProcessLine::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: workshop_id, type: Workshop::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: manufactory_id, type: Manufactory::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: company_id, type: Company::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: id, type: Int64, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: target_total_count, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: processed_total_count, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: qualified_total_count, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_date, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_year_num, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_month_num, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: report_week_num, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: process_line_id, type: ProcessLine::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: workshop_id, type: Workshop::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: manufactory_id, type: Manufactory::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: company_id, type: Company::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}] of Nil
-
FOREIGN_KEY =
"report_id"
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(params : Avram::Paramable, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(record : T, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
Class Method Summary
-
.create(params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create(params : Hash, **named_args, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(params : Hash, **named_args)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
- .find_existing_unique_record(operation) : T | Nil
-
.update(record : T, with params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update(record : T, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update(record : T, params : Hash, **named_args, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, with params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, params : Hash, **named_args)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
- .upsert(*args, **named_args, &)
- .upsert!(*args, **named_args) : T
Instance Method Summary
- #before_save
-
#set_attributes(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
Macro Summary
Instance methods inherited from class Report::SaveOperation
attributes
attributes,
company_id
company_id,
company_id=(_value)
company_id=,
created_at
created_at,
created_at=(_value)
created_at=,
id
id,
id=(_value)
id=,
manufactory_id
manufactory_id,
manufactory_id=(_value)
manufactory_id=,
permitted_params : Hash(String, Array(String) | String)
permitted_params,
process_line_id
process_line_id,
process_line_id=(_value)
process_line_id=,
processed_total_count
processed_total_count,
processed_total_count=(_value)
processed_total_count=,
qualified_total_count
qualified_total_count,
qualified_total_count=(_value)
qualified_total_count=,
report_date
report_date,
report_date=(_value)
report_date=,
report_month_num
report_month_num,
report_month_num=(_value)
report_month_num=,
report_week_num
report_week_num,
report_week_num=(_value)
report_week_num=,
report_year_num
report_year_num,
report_year_num=(_value)
report_year_num=,
required_attributes
required_attributes,
set_attributes(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
set_attributes,
set_company_id_from_param(_value)
set_company_id_from_param,
set_created_at_from_param(_value)
set_created_at_from_param,
set_id_from_param(_value)
set_id_from_param,
set_manufactory_id_from_param(_value)
set_manufactory_id_from_param,
set_process_line_id_from_param(_value)
set_process_line_id_from_param,
set_processed_total_count_from_param(_value)
set_processed_total_count_from_param,
set_qualified_total_count_from_param(_value)
set_qualified_total_count_from_param,
set_report_date_from_param(_value)
set_report_date_from_param,
set_report_month_num_from_param(_value)
set_report_month_num_from_param,
set_report_week_num_from_param(_value)
set_report_week_num_from_param,
set_report_year_num_from_param(_value)
set_report_year_num_from_param,
set_target_total_count_from_param(_value)
set_target_total_count_from_param,
set_updated_at_from_param(_value)
set_updated_at_from_param,
set_workshop_id_from_param(_value)
set_workshop_id_from_param,
target_total_count
target_total_count,
target_total_count=(_value)
target_total_count=,
updated_at
updated_at,
updated_at=(_value)
updated_at=,
workshop_id
workshop_id,
workshop_id=(_value)
workshop_id=
Constructor methods inherited from class Report::SaveOperation
new(record : T, params : Avram::Paramable, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)new(params : Avram::Paramable, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
new(record : T, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
new(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new) new
Class methods inherited from class Report::SaveOperation
create(params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)create(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
create(params : Hash, **named_args, &) create, create!(params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
create!(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
create!(params : Hash, **named_args) create!, update(record : T, with params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
update(record : T, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, &)
update(record : T, params : Hash, **named_args, &) update, update!(record : T, with params, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
update!(record : T, id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, target_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, processed_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, qualified_total_count : Int32 | Avram::Nothing = Avram::Nothing.new, report_date : String | Avram::Nothing = Avram::Nothing.new, report_year_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_month_num : Int32 | Avram::Nothing = Avram::Nothing.new, report_week_num : Int32 | Avram::Nothing = Avram::Nothing.new, process_line_id : ProcessLine::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, workshop_id : Workshop::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, manufactory_id : Manufactory::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new)
update!(record : T, params : Hash, **named_args) update!
Constructor Detail
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
Class Method Detail
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation
Instance Method Detail
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation