Crates.io | crcnt_ddd_macros |
lib.rs | crcnt_ddd_macros |
version | 0.2.10 |
source | src |
created_at | 2022-12-20 16:09:35.140369 |
updated_at | 2023-04-16 20:25:07.30016 |
description | CRCNT DDD Basic Macro |
homepage | https://github.com/CRCNT/crcnt_ddd/tree/main/macros |
repository | https://github.com/CRCNT/crcnt_ddd/tree/main/macros |
max_upload_size | |
id | 742438 |
size | 71,817 |
use crcnt_ddd_macros::Domain;
#[derive(Domain)]
#[domain_commands(entity, store)]
#[domain_store(table_name = "t_rice", params_extractor = "super::mysql_tools::params_inspect")]
struct __Rice__ {
id: String,
name: String,
#[domain_value(skip_new_type = true)]
create_time: CreateAt,
update_time: UpdateAt,
#[domain_value(skip_new_type = true)]
creator: Creator,
updater: Updater,
deleted: Deleted,
}