hasOne casing