x/dinar/lib/decorators/Transactional.ts
12345678import { Constructor } from "../@types/types.ts";export function Transactional() { return function (target: Object, key: string, descriptor: PropertyDescriptor) { /// 要么全部完成,要么全部不完成(回滚) };}