@@ -46,7 +46,7 @@ trait CaseAttributes { _: AttributeDef ⇒
46
46
val endDate = optionalAttribute(" endDate" , F .dateFmt, " Resolution date" )
47
47
val tags = multiAttribute(" tags" , F .stringFmt, " Case tags" )
48
48
val flag = attribute(" flag" , F .booleanFmt, " Flag of the case" , false )
49
- val tlp = attribute(" tlp" , F .numberFmt, " TLP level" , - 1L )
49
+ val tlp = attribute(" tlp" , F .numberFmt, " TLP level" , 2L )
50
50
val status = attribute(" status" , F .enumFmt(CaseStatus ), " Status of the case" , CaseStatus .Open )
51
51
val metrics = optionalAttribute(" metrics" , F .metricsFmt, " List of metrics" )
52
52
val resolutionStatus = optionalAttribute(" resolutionStatus" , F .enumFmt(CaseResolutionStatus ), " Resolution status of the case" )
@@ -162,4 +162,4 @@ class CaseModel @Inject() (
162
162
" handlingDuration" → " doc['endDate'].value - doc['startDate'].value" )
163
163
}
164
164
165
- class Case (model : CaseModel , attributes : JsObject ) extends EntityDef [CaseModel , Case ](model, attributes) with CaseAttributes
165
+ class Case (model : CaseModel , attributes : JsObject ) extends EntityDef [CaseModel , Case ](model, attributes) with CaseAttributes
0 commit comments