move rhai wrappers of models from rhailib
This commit is contained in:
		@@ -73,7 +73,7 @@ fn main() {
 | 
			
		||||
 | 
			
		||||
    // The `#[model]` derive handles `created_at` and `updated_at` in `base_data`.
 | 
			
		||||
    // `base_data.touch()` might be called internally by setters or needs explicit call if fields are set directly.
 | 
			
		||||
    // For builder pattern, the final state of `base_data.updated_at` reflects the time of the last builder call if `touch()` is implicit.
 | 
			
		||||
    // For builder pattern, the final state of `base_data.modified_at` reflects the time of the last builder call if `touch()` is implicit.
 | 
			
		||||
    // If not, one might call `contract.base_data.touch()` after building.
 | 
			
		||||
 | 
			
		||||
    println!("\n--- Initial Contract Details ---");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user