#[entity_behavior]Available on crate feature
seaorm only.Expand description
Default entity behavior:
entity_identity_timestamp
The two helpers must already be generated on the same impl ActiveModel
block (see the example), and async_trait must be available as a
dependency of the crate using this macro.
§Examples
ⓘ
#[entity_id(rand_i64())]
#[entity_timestamp]
impl ActiveModel {}
#[entity_behavior]
impl ActiveModelBehavior for ActiveModel {}