def default_fields
        @default_fields ||= {
          id:              SecureRandom.uuid.gsub('-', ''),
          group_id:        nil,
          icon:            1,
          name:            nil,
          url:             nil,
          username:        nil,
          password:        nil,
          notes:           nil,
          creation_time:   Time.now,
          last_mod_time:   Time.now,
          last_acc_time:   Time.now,
          expiration_time: Time.local(2999, 12, 28, 23, 59, 59),
          binary_desc:     nil,
          binary_data:     nil,
          terminator:      nil,
        }
      end
def default_fields
        @default_fields ||= {
          id:              SecureRandom.uuid.gsub('-', ''),
          group_id:        nil,
          icon:            1,
          name:            nil,
          url:             nil,
          username:        nil,
          password:        nil,
          notes:           nil,
          creation_time:   Time.now,
          last_mod_time:   Time.now,
          last_acc_time:   Time.now,
          expiration_time: Time.local(2999, 12, 28, 23, 59, 59),
          binary_desc:     nil,
          binary_data:     nil,
          terminator:      nil,
        }
      end
rubocop:disable Metrics/MethodLength