Class LaravelUi5\Sdk\Tms\Attributes\MasterData

final
readonly

Master data this module can take at a tenant's birth — partners, bank accounts, calendars: one kind of record per attribute. Declared on the module, repeatable. The consultant fills the file master/{file}.json in the tenant's template, the record class says what a record may hold, the loader writes the records — inserting only, before go-live.

#[MasterData(entity: 'Partner', file: 'partners', record: PartnerRecord::class, loader: PartnersLoader::class)]
#[MasterData(entity: 'BankAccount', file: 'bank_accounts', record: BankAccountRecord::class,
             loader: BankAccountsLoader::class, dependsOn: ['Partner'])]
final class PartnersModule extends AbstractUi5Module { … }
Methods
Properties