Skip to main content

Module entity

Module entity 

Source
Expand description

实体模块

对应 TypeScript 版本的 entity/

Structs§

AddResult
新增返回结果
BaseFields
基础模型字段
BatchAddResult
批量新增返回结果
DeleteParam
删除参数
FieldCondition
字段条件
JoinOption
关联选项
ListQuery
列表查询参数
PageQuery
分页查询参数
QueryOption
查询选项(对齐 TS 版 QueryOp,保留核心字段)
SoftDeleteFields
软删除字段
TenantFields
多租户字段
WhereBuilder
where 片段构造器,便于以函数式方式累加过滤条件
WhereFragment
自定义 where 片段(带参数)

Enums§

JoinType
关联类型

Traits§

BaseEntity
基础实体 trait
SoftDeleteEntity
软删除实体 trait
TenantEntity
多租户实体 trait

Type Aliases§

Id
通用 ID 类型