Skip to main content

PakemModel

Derive Macro PakemModel 

Source
#[derive(PakemModel)]
{
    // Attributes available to this derive:
    #[table]
    #[primary_key]
    #[column]
    #[pakem]
    #[lumina]
    #[soft_deletes]
}
Expand description

Derive macro untuk mengimplementasikan trait Model secara otomatis di Pakem Framework.