package Ġuk . gov . just ice . digital . as sess ments . rest client . assessment api Ċ Ċ import Ġuk . gov . just ice . digital . as sess ments . jpa . entities . ref data . O as ys Assessment Type Ċ Ċ data Ġclass ĠO AS ys RB AC Permissions Dto ( ĊĠ Ġval Ġuser Code : ĠString , ĊĠ Ġval Ġrole Checks : ĠSet < Roles >, ĊĠ Ġval Ġarea : ĠString , ĊĠ Ġval Ġoff ender Pk : ĠLong ? Ġ= Ġnull , ĊĠ Ġval Ġo as ys Set Pk : ĠLong ? Ġ= Ġnull , ĊĠ Ġval Ġassessment Type : ĠO as ys Assessment Type ? Ġ= Ġnull , ĊĠ Ġval Ġrole Names : ĠSet < Role Names >? Ġ= Ġempty Set () Ċ ) Ċ Ċ enum Ġclass ĠRole Names Ġ{ ĊĠ ĠCREATE _ BASIC _ AS SESS MENT , ĊĠ ĠCREATE _ FULL _ AS SESS MENT , ĊĠ ĠCREATE _ STANDARD _ AS SESS MENT , ĊĠ ĠEDIT _ SAR A , ĊĠ ĠEDIT _ SIGN _ AND _ LOCK _ THE _ AS SESS MENT , ĊĠ ĠOPEN _ OFF ENDER _ RECORD , ĊĠ ĠOPEN _ SAR A , ĊĠ ĠCREATE _ OFF ENDER , ĊĠ ĠCREATE _ R IS K _ OF _ H ARM _ AS SESS MENT Ċ } Ċ Ċ enum Ġclass ĠRoles Ġ{ ĊĠ ĠRB AC _ OTHER , ĊĠ ĠAS SESS MENT _ READ , ĊĠ ĠAS SESS MENT _ EDIT , ĊĠ ĠRB AC _ SAR A _ EDIT , ĊĠ ĠRB AC _ SAR A _ CREATE , ĊĠ ĠOFF _ AS SESS MENT _ CREATE Ċ } Ċ