#[entity_timestamp]
seaorm
Default timestamp generator.
Automatically generate created_at and updated_at on create and update.
created_at
updated_at
Crate chrono will be used.
chrono
pub struct Model { ... pub created_at: i64, pub updated_at: i64, } #[entity_timestamp] impl ActiveModel {}