implemented crud

This commit is contained in:
Bryce Covert
2019-05-07 18:18:57 -07:00
parent a1abb4b05e
commit 8c50085fcc
11 changed files with 355 additions and 22 deletions

View File

@@ -0,0 +1,11 @@
(ns auto-ap.entities.transaction-rule
(:require [clojure.spec.alpha :as s]))
(s/def ::client (s/nilable map?))
(s/def ::description (s/nilable string?))
(s/def ::amount-gte (s/nilable double?))
(s/def ::amount-lte (s/nilable double?))
(s/def ::note (s/nilable string?))
(s/def ::bank-account (s/nilable map?))
(s/def ::transaction-rule (s/keys :req-un [::client ::description ::amount-gte ::amount-lte ::note ::bank-account]))